From f9e96cf7d4965f39353cac679db6d9d56c85b5bd Mon Sep 17 00:00:00 2001 From: Flavio Castelli Date: Thu, 7 Aug 2014 15:41:23 +0200 Subject: [PATCH] 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 (github: flavio) Upstream-commit: 90e97960fa2282189f16b44a8699b3c6ec12e520 Component: engine --- .../docs/sources/installation/openSUSE.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/components/engine/docs/sources/installation/openSUSE.md b/components/engine/docs/sources/installation/openSUSE.md index c03c74a811..5dd8dd00d2 100644 --- a/components/engine/docs/sources/installation/openSUSE.md +++ b/components/engine/docs/sources/installation/openSUSE.md @@ -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!**