Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using AUFS: error while loading shared libraries: libz.so.1: cannot open shared object file: Permission denied #5

Open
jameshfisher opened this issue Mar 26, 2014 · 6 comments

Comments

@jameshfisher
Copy link

Following the instructions:

jhf$ docker run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=xehVg1IpVhEmlwRMG orchardup/mysql
WARNING: Local (127.0.0.1) DNS resolver found in resolv.conf and containers can't use it. Using default external servers : [8.8.8.8 8.8.4.4]
e6a16063663b99e39e615e4448b4f1f6ed3753ec4ba094f8bf4885d70d2ac473
jhf$ docker ps -a
CONTAINER ID        IMAGE                    COMMAND               CREATED             STATUS              PORTS               NAMES
e6a16063663b        orchardup/mysql:latest   /usr/local/bin/run    4 seconds ago       Exit 1                                  cranky_mccarthy     
jhf$ docker logs e6a
/usr/sbin/mysqld: error while loading shared libraries: libz.so.1: cannot open shared object file: Permission denied
jhf$ 
@jameshfisher
Copy link
Author

jhf$ docker --version
Docker version 0.9.0, build 2b3fdf2
jhf$ uname -a
Linux jhfdev 3.8.0-35-generic #52~precise1-Ubuntu SMP Thu Jan 30 17:24:40 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

@jameshfisher
Copy link
Author

This SO issue looks like the same thing, and it's not specific to orchardup/mysql. But it's not at all clear from that discussion what the cause of the problem is or the solution to the problem is.

@jameshfisher
Copy link
Author

Issue also present with latest Docker.

$ docker --version
Docker version 0.9.1, build 3600720

@jameshfisher
Copy link
Author

More useful version info.

$ docker version
Client version: 0.9.1
Go version (client): go1.2.1
Git commit (client): 3600720
Server version: 0.9.1
Git commit (server): 3600720
Go version (server): go1.2.1
Last stable version: 0.9.1

@jameshfisher
Copy link
Author

Ah, it's something to do with this issue: moby/moby#4704

@jameshfisher
Copy link
Author

Can confirm that the devicemapper backend does not cause this issue.

This is certainly a workaround; leaving this issue open until it works with the standard backend.

@jameshfisher jameshfisher changed the title error while loading shared libraries: libz.so.1: cannot open shared object file: Permission denied Using AUFS: error while loading shared libraries: libz.so.1: cannot open shared object file: Permission denied Mar 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant