On fedora 20 x64 docker can't found existing libdevmapper.so. device-mapper-libs-1.02.82-3.fc20.x86_64 is installed. $ sudo find / -name libdev* ... /usr/lib64/libdevmapper-event.so.1.02 /usr/lib64/libdevmapper.so.1.02 ... $ yum info docker-io Загружены модули: langpacks, refresh-packagekit Установленные пакеты Название: docker-io Архитектура: x86_64 Версия: 0.7 Выпуск: 0.13.dm.fc20 Объем: 11 M Источник: installed Из источника: docker-goldmann Аннотация: Automates deployment of containerized applications Ссылка: http://www.docker.io Лицензия: ASL 2.0 $ uname -a Linux bb.lan 3.11.7-300.fc20.x86_64 #1 SMP Mon Nov 4 15:07:39 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux Just another strange thing is that yum provides shows only i686 packages of libdevmapper. log: sudo docker run -i -t ubuntu /bin/bash /.dockerinit: error while loading shared libraries: libdevmapper.so.1.02: cannot open shared object file: No such file or directory $ yum provides libdevmapper.so.1.02 Загружены модули: langpacks, refresh-packagekit device-mapper-libs-1.02.82-3.fc20.i686 : Device-mapper shared library Источник: fedora Совпадения с: Обеспечивает : libdevmapper.so.1.02 device-mapper-libs-1.02.82-3.fc20.i686 : Device-mapper shared library Источник: updates-testing Совпадения с: Обеспечивает : libdevmapper.so.1.02 $ sudo yum install device-mapper-libs Загружены модули: langpacks, refresh-packagekit Пакет device-mapper-libs-1.02.82-3.fc20.x86_64 уже установлен, и это последняя версия. # device-mapper-libs is already installed and there is latest version Выполнять нечего # nothing to do
This is a known problem. The issue is that the library needs to exist _inside_ the container. In practice, this means you can use docker images built with the same Fedora version that docker itself was, which is of course not the intention. This is one of the reasons we're not making the package officially available yet. *** This bug has been marked as a duplicate of bug 1026545 ***