Prechádzať zdrojové kódy

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)
Flavio Castelli 11 rokov pred
rodič
commit
90e97960fa
1 zmenil súbory, kde vykonal 16 pridanie a 2 odobranie
  1. 16 2
      docs/sources/installation/openSUSE.md

+ 16 - 2
docs/sources/installation/openSUSE.md

@@ -51,9 +51,23 @@ Docker daemon. You can add users with:
 
 
 To verify that everything has worked as expected:
 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!**
 **Done!**