From a3f51da98adf27d1f312edac04f0f9863019a8e8 Mon Sep 17 00:00:00 2001 From: Sven Dowideit Date: Mon, 15 Sep 2014 14:12:05 +1000 Subject: [PATCH] Help new users if their SELinux is not-upgraded yet. Docker-DCO-1.1-Signed-off-by: Sven Dowideit (github: SvenDowideit) --- docs/sources/installation/fedora.md | 4 ++++ docs/sources/installation/rhel.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/sources/installation/fedora.md b/docs/sources/installation/fedora.md index 757b3e9c44..9101ef1356 100644 --- a/docs/sources/installation/fedora.md +++ b/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 +> 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 Fedora 19 and 20 shipped with Docker 0.11. The package has already been updated diff --git a/docs/sources/installation/rhel.md b/docs/sources/installation/rhel.md index a8b785acca..74a293b513 100644 --- a/docs/sources/installation/rhel.md +++ b/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 +> 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!** Continue with the [User Guide](/userguide/).