diff options
| author | Gabriel Ionescu <gabriel.ionescu@enea.com> | 2017-12-05 17:08:22 +0100 |
|---|---|---|
| committer | Gabriel Ionescu <gabriel.ionescu@enea.com> | 2017-12-06 13:57:58 +0100 |
| commit | 3b11a76e5d75af13c29de84a2e3fadc5552dd45c (patch) | |
| tree | 921f08faa4ba8b6c0c9fe89d5b25435e19eda664 | |
| parent | b3ce8ffb11a8be15b1998f67dc9f388dc7278287 (diff) | |
| download | nfv-access-documentation-3b11a76e5d75af13c29de84a2e3fadc5552dd45c.tar.gz | |
Chapter 4: Update container chapter for Cavium board
Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
| -rw-r--r-- | doc/book-enea-nfv-access-guide/doc/container_virtualization.xml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/book-enea-nfv-access-guide/doc/container_virtualization.xml b/doc/book-enea-nfv-access-guide/doc/container_virtualization.xml index 2287146..52716bd 100644 --- a/doc/book-enea-nfv-access-guide/doc/container_virtualization.xml +++ b/doc/book-enea-nfv-access-guide/doc/container_virtualization.xml | |||
| @@ -50,7 +50,7 @@ | |||
| 50 | container can. Before starting an Enea NFV Access guest image, a root | 50 | container can. Before starting an Enea NFV Access guest image, a root |
| 51 | filesystem has to be imported in Docker:</para> | 51 | filesystem has to be imported in Docker:</para> |
| 52 | 52 | ||
| 53 | <programlisting>docker import enea-nfv-access-guest-qemux86-64.tar.gz el7guest</programlisting> | 53 | <programlisting>docker import enea-nfv-access-guest-qemuarm64.tar.gz nfv_guest</programlisting> |
| 54 | 54 | ||
| 55 | <para>To check that the Docker image has been imported successfully, | 55 | <para>To check that the Docker image has been imported successfully, |
| 56 | run:</para> | 56 | run:</para> |
| @@ -60,7 +60,7 @@ | |||
| 60 | <para>Finally, start an Enea NFV Access container with | 60 | <para>Finally, start an Enea NFV Access container with |
| 61 | <literal>bash</literal> running as the shell, by running:</para> | 61 | <literal>bash</literal> running as the shell, by running:</para> |
| 62 | 62 | ||
| 63 | <programlisting>docker run -it el7guest /bin/bash</programlisting> | 63 | <programlisting>docker run -it nfv_guest /bin/bash</programlisting> |
| 64 | </section> | 64 | </section> |
| 65 | 65 | ||
| 66 | <section id="attach-ext-resources-docker-containers"> | 66 | <section id="attach-ext-resources-docker-containers"> |
| @@ -75,7 +75,7 @@ | |||
| 75 | <literal>roots</literal> home folder to a container, the command line | 75 | <literal>roots</literal> home folder to a container, the command line |
| 76 | for Docker should have the following format:</para> | 76 | for Docker should have the following format:</para> |
| 77 | 77 | ||
| 78 | <programlisting>docker run -it -v /home/root:/home/host_root/ el7guest /bin/bash</programlisting> | 78 | <programlisting>docker run -it -v /home/root:/home/host_root/ nfv_guest /bin/bash</programlisting> |
| 79 | 79 | ||
| 80 | <para>To check that folders have been properly passed from the host to | 80 | <para>To check that folders have been properly passed from the host to |
| 81 | the container, create a file in the source folder on the host root | 81 | the container, create a file in the source folder on the host root |
| @@ -94,14 +94,14 @@ | |||
| 94 | <listitem> | 94 | <listitem> |
| 95 | <para>Mapping the folder can be done as exemplified above:</para> | 95 | <para>Mapping the folder can be done as exemplified above:</para> |
| 96 | 96 | ||
| 97 | <programlisting>docker run -it --rm -v /var/run/openvswitch/:/var/run/openvswitch/ el7guest /bin/bash</programlisting> | 97 | <programlisting>docker run -it --rm -v /var/run/openvswitch/:/var/run/openvswitch/ nfv_guest /bin/bash</programlisting> |
| 98 | </listitem> | 98 | </listitem> |
| 99 | 99 | ||
| 100 | <listitem> | 100 | <listitem> |
| 101 | <para>Mapping a file descriptor is done in a similar way, but the | 101 | <para>Mapping a file descriptor is done in a similar way, but the |
| 102 | <literal>-v</literal> flag needs to point directly to it:</para> | 102 | <literal>-v</literal> flag needs to point directly to it:</para> |
| 103 | 103 | ||
| 104 | <programlisting>docker run -it --rm -v /var/run/openvswitch/vhost-user1 el7guest /bin/bash</programlisting> | 104 | <programlisting>docker run -it --rm -v /var/run/openvswitch/vhost-user1 nfv_guest /bin/bash</programlisting> |
| 105 | </listitem> | 105 | </listitem> |
| 106 | </itemizedlist> | 106 | </itemizedlist> |
| 107 | </section> | 107 | </section> |
| @@ -116,7 +116,7 @@ | |||
| 116 | <literal>/mnt/huge</literal> location, a container can also access | 116 | <literal>/mnt/huge</literal> location, a container can also access |
| 117 | hugepages by being launched with:</para> | 117 | hugepages by being launched with:</para> |
| 118 | 118 | ||
| 119 | <programlisting>docker run -it -v /mnt/huge el7guest /bin/bash</programlisting> | 119 | <programlisting>docker run -it -v /mnt/huge nfv_guest /bin/bash</programlisting> |
| 120 | </section> | 120 | </section> |
| 121 | 121 | ||
| 122 | <section id="access-pci-bus"> | 122 | <section id="access-pci-bus"> |
| @@ -129,8 +129,8 @@ | |||
| 129 | container if the <literal>--privileged</literal> flag is passed to the | 129 | container if the <literal>--privileged</literal> flag is passed to the |
| 130 | command line:</para> | 130 | command line:</para> |
| 131 | 131 | ||
| 132 | <programlisting>docker run --privileged -it el7guest /bin/bash</programlisting> | 132 | <programlisting>docker run --privileged -it nfv_guest /bin/bash</programlisting> |
| 133 | </section> | 133 | </section> |
| 134 | </section> | 134 | </section> |
| 135 | </section> | 135 | </section> |
| 136 | </chapter> \ No newline at end of file | 136 | </chapter> |
