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 container: libdevmapper error on Arch #14

Open
nem75 opened this issue Sep 2, 2014 · 1 comment
Open

samba container: libdevmapper error on Arch #14

nem75 opened this issue Sep 2, 2014 · 1 comment

Comments

@nem75
Copy link

nem75 commented Sep 2, 2014

I have a project where I use Vagrant to fire up the docker containers, including a samba container created by svendowideit/samba. This used to work without flaw on Ubuntu.

After switching to Arch starting up the container which would create a samba container no longer does so but instead shows this in the log:

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

I have no idea what to do with that.

A find for the module comes up with

/usr/lib/libdevmapper.so.1.02
/usr/lib/libdevmapper.so
/var/lib/docker/devicemapper/mnt/65aa816ef1b3a54563fd6ffcf3757795f7da8073453623dc273d0f10e907837b/rootfs/lib/x86_64-linux-gnu/libdevmapper.so.1.02.1
/var/lib/docker/devicemapper/mnt/c7e56b4e59fe6a93050c58b30d882071b7066cbc314d69fe9be804cd694589b8/rootfs/lib/x86_64-linux-gnu/libdevmapper.so.1.02.1
/var/lib/docker/devicemapper/mnt/387581c04489d2ffab36d9117903e33d6edac285a23bf96172e2f873e960c943/rootfs/lib/x86_64-linux-gnu/libdevmapper.so.1.02.1

The parameters running the samba container have not changed. The volume mappings

container.volumes = ["/usr/bin/docker:/docker", "/var/run/docker.sock:/docker.sock"]

still point to valid files in the host file system.

Anything else I can do to pinpoint the problem?

Edit: just tried it without Vagrant, same difference.

docker run --rm -v `which docker`:/docker -v /var/run/docker.sock:/docker.socker svendowideit/samba <name of the target container>

still results in

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

Edit 2:

$ docker --version
Docker version 1.2.0, build fa7b24f
@ariddell
Copy link

Getting a similar problem with Docker 1.3.3 on coreos

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

2 participants