1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Updated openSUSE's installation instructions

Cover network configuration and reference the official openSUSE image
inside of the examples.

Docker-DCO-1.1-Signed-off-by: Flavio Castelli <fcastelli@suse.com> (github: flavio)
This commit is contained in:
Flavio Castelli 2014-08-07 15:41:23 +02:00
parent 7e12911f62
commit 90e97960fa

View file

@ -51,9 +51,23 @@ Docker daemon. You can add users with:
To verify that everything has worked as expected:
$ sudo docker run --rm -i -t ubuntu /bin/bash
$ sudo docker run --rm -i -t opensuse /bin/bash
This should download and import the `opensuse` image, and then start `bash` in
a container. To exit the container type `exit`.
If you want your containers to be able to access the external network you must
enable the `net.ipv4.ip_forward` rule.
This can be done using YaST by browsing to the
`Network Devices -> Network Settings -> Routing` menu and ensuring that the
`Enable IPv4 Forwarding` box is checked.
This option cannot be changed when networking is handled by the Network Manager.
In such cases the `/etc/sysconfig/SuSEfirewall2` file needs to be edited by
hand to ensure the `FW_ROUTE` flag is set to `yes` like so:
FW_ROUTE="yes"
This should download and import the `ubuntu` image, and then start `bash` in a container. To exit the container type `exit`.
**Done!**