Browse Source

Help new users if their SELinux is not-upgraded yet.

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
Sven Dowideit 10 years ago
parent
commit
a3f51da98a
2 changed files with 8 additions and 0 deletions
  1. 4 0
      docs/sources/installation/fedora.md
  2. 4 0
      docs/sources/installation/rhel.md

+ 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/).