Merge pull request #7465 from flavio/update-opensuse-doc

Updated openSUSE's installation instructions
Upstream-commit: fb650d1e6d938240c3e2058e3d8dc9eb75128435
Component: engine
This commit is contained in:
James Turnbull
2014-08-08 11:28:27 -04:00

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!**