[PLUG] Problems with Docker

Tyrell Jentink tyrell at jentink.net
Sat Oct 4 22:19:13 UTC 2014


I know some on this list are running CoreOS and other docker
implimentations, so I'm hoping someone will be able to help me hunt down a
solution to this problem.

I'm running Docker on Fedora 20; Here is the output of 'docker info':

> Containers: 1
> Images: 31
> Storage Driver: devicemapper
>  Pool Name: docker-253:1-3145926-pool
>  Pool Blocksize: 64 Kb
>  Data file: /var/lib/docker/devicemapper/devicemapper/data
>  Metadata file: /var/lib/docker/devicemapper/devicemapper/metadata
>  Data Space Used: 1547.8 Mb
>  Data Space Total: 102400.0 Mb
>  Metadata Space Used: 2.4 Mb
>  Metadata Space Total: 2048.0 Mb
> Execution Driver: native-0.2
> Kernel Version: 3.16.3-200.fc20.x86_64
> Operating System: Fedora 20 (Heisenbug)
> Username: alawatsakima
> Registry: [https://index.docker.io/v1/]


I AM successfully running a timhaak/plex container, which fired up right
away and offers me no errors, so I know docker is working.

I am now trying to run the svendowideit/samba image, which requests to be
run this way:

> docker run --rm -v $(which docker):/docker -v
> /var/run/docker.sock:/docker.sock -e DOCKER_HOST svendowideit/samba
> <container_name>


And translated for my system, I ran it this way:

> docker run --rm -v $(which docker):/docker -v
> /var/run/docker.sock:/docker.sock -e DOCKER_HOST=10.0.0.100
> svendowideit/samba boxcar
>

However, that spits back an error:

>

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


I did find this suggestion on google:
https://groups.google.com/forum/#!topic/coreos-user/4nyJh8lYaiA

That suggestion fixed libdevmapper.so.1.02, but lead to other "Missing"
libraries; Repeating for the full sequence of missing libraries, I
eventually came up with this command:

> docker run --rm -v $(which docker):/docker -v
> /var/run/docker.sock:/docker.sock -v
> /lib64/libdevmapper.so.1.02:/usr/lib/libdevmapper.so.1.02 -v
> /lib64/libsqlite3.so.0:/usr/lib/libsqlite3.so.0 -v
> /lib64/libudev.so.1:/usr/lib/libudev.so.1 -v
> /lib64/libc.so.6:/lib/x86_64-linux-gnu/libc.so.6 -e DOCKER_HOST=10.0.0.100
> svendowideit/samba boxcar


Which ultimately results in this error:

> /bin/bash: relocation error: /lib/x86_64-linux-gnu/libc.so.6: symbol
> _dl_starting_up, version GLIBC_PRIVATE not defined in file
> ld-linux-x86-64.so.2 with link time reference


I'm not overly surprised by this error; It certainly doesn't FEEL right
linking in a bunch of Fedora libraries into a Ubuntu container, not to
mention the fact that Docker containers are SUPPOSED to be host agnostic.

SO I must be must be missing something.  Anyone have any idea where I
screwed up?



More information about the PLUG mailing list