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

can't start samba container #29

Open
nheine opened this issue Jul 2, 2015 · 4 comments
Open

can't start samba container #29

nheine opened this issue Jul 2, 2015 · 4 comments

Comments

@nheine
Copy link

nheine commented Jul 2, 2015

docker run -v $(which docker):/docker -v /var/run/docker.sock:/docker.sock svendowideit/samba data

returns

/docker: error while loading shared libraries: libsqlite3.so.0: cannot open shared object file: No such file or directory

Any idea why? docker runs on a gentoo host 64bit

@nheine
Copy link
Author

nheine commented Jul 8, 2015

I have changed the path to the bind mount volume from -v $(which docker):/docker to -v $(which docker):/docker2
and the error message is gone. However it still does not start

# docker run -v $(which docker):/docker2 -v /var/run/docker.sock:/docker.sock svendowideit/samba data 

please run with: 
   docker run --rm -v $(which docker):/docker -v /var/run/docker.sock:/docker.sock -e DOCKER_HOST svendowideit/samba data 

 OR - depending on your Docker Host's socket connection and location of its docker binary 

   docker run --rm -v /usr/local/bin/docker:/docker -e DOCKER_HOST svendowideit/samba data

Any ideas?

@nheine
Copy link
Author

nheine commented Jul 14, 2015

I pulled again and now I am getting

/docker: error while loading shared libraries: libdevmapper.so.1.02: cannot open shared object file: No such file or directory

@SvenDowideit
Copy link
Owner

ah joy, the docker executable used to be a static binary, and now its dynamic.

@niccokunzmann
Copy link

I suggest a new way to run this, circumventing sharing parameters:

docker run svendowideit/samba data | sh

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

3 participants