Forráskód Böngészése

Merge pull request #8030 from SvenDowideit/add-help-if-selinux-is-out-of-date

Help new users if their SELinux is not-upgraded yet.
Sven Dowideit 10 éve
szülő
commit
602dc6865b

+ 4 - 0
docs/sources/installation/fedora.md

@@ -48,6 +48,10 @@ Now let's verify that Docker is working.
 
 
     $ sudo docker run -i -t fedora /bin/bash
     $ sudo docker run -i -t fedora /bin/bash
 
 
+> Note: If you get a `Cannot start container` error mentioning SELinux
+> or permission denied, you may need to update the SELinux policies.
+> This can be done using `sudo yum upgrade selinux-policy` and then rebooting.
+
 ## Granting rights to users to use Docker
 ## Granting rights to users to use Docker
 
 
 Fedora 19 and 20 shipped with Docker 0.11. The package has already been updated
 Fedora 19 and 20 shipped with Docker 0.11. The package has already been updated

+ 4 - 0
docs/sources/installation/rhel.md

@@ -75,6 +75,10 @@ Now let's verify that Docker is working.
 
 
     $ sudo docker run -i -t fedora /bin/bash
     $ sudo docker run -i -t fedora /bin/bash
 
 
+> Note: If you get a `Cannot start container` error mentioning SELinux
+> or permission denied, you may need to update the SELinux policies.
+> This can be done using `sudo yum upgrade selinux-policy` and then rebooting.
+
 **Done!**
 **Done!**
 
 
 Continue with the [User Guide](/userguide/).
 Continue with the [User Guide](/userguide/).