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

Samba: no such file directory #51

Open
edenisn opened this issue Apr 5, 2017 · 3 comments
Open

Samba: no such file directory #51

edenisn opened this issue Apr 5, 2017 · 3 comments

Comments

@edenisn
Copy link

edenisn commented Apr 5, 2017

I run data container: docker run -v /data --name my-data busybox true
then run: docker run --rm -v $(which docker):/docker -v /var/run/docker.sock:/docker.sock svendowideit/samba my-data
and get the error:

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

 OR - depending on your Docker Host's socket connection and location of its docker binary
/docker: error while loading shared libraries: libltdl.so.7: cannot open shared object file: No such file or directory

   docker run --rm -v /usr/local/bin/docker:/docker -e DOCKER_HOST svendowideit/samba my-data
@seffyroff
Copy link

This is due to newer versions of the Docker binary being no longer statically linked. You can possibly fix this by running RUN curl -sSL https://get.docker.com/ | sh in the Dockerfile - this should grab the latest version of the docker binary inside the temp build container and satisfy all deps. Good luck - that still didn't get the container to work for me.

@SvenDowideit
Copy link
Owner

argh. this is really painful - I wonder if they're still building a static client.

@seffyroff
Copy link

There are a number of other issues with the container which sadly made me abandon my attempts to revive it and switch over to a more traditional page full of -e and -v Samba container. I really love the approach you took to this, and hope someone can take the time to dust it off.

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