Skip to content

Instantly share code, notes, and snippets.

@dfarrell07
Created September 9, 2014 04:39
Show Gist options
  • Select an option

  • Save dfarrell07/ec6959b6d6fc0910666b to your computer and use it in GitHub Desktop.

Select an option

Save dfarrell07/ec6959b6d6fc0910666b to your computer and use it in GitHub Desktop.
Log of Docker btrfs errors
sudo docker run fedora echo "hello world"
echo: error while loading shared libraries: libc.so.6: cannot open shared object file: Permission denied
uname -a
Linux localhost.localdomain 3.11.10-301.fc20.x86_64 #1 SMP Thu Dec 5 14:01:17 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
sudo docker info
Containers: 4
Images: 3
Storage Driver: btrfs
Execution Driver: native-0.2
Kernel Version: 3.11.10-301.fc20.x86_64
sudo docker version
Client version: 1.1.2
Client API version: 1.13
Go version (client): go1.2.2
Git commit (client): d84a070/1.1.2
Server version: 1.1.2
Server API version: 1.13
Go version (server): go1.2.2
Git commit (server): d84a070/1.1.2
getenforce
Enforcing
sudo setenforce 0
getenforce
Permissive
sudo docker run fedora echo "hello world"
hello world
hello world
sudo setenforce 1
sudo docker run fedora:latest echo "hello world"
echo: error while loading shared libraries: libc.so.6: cannot open shared object file: Permission denied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment