{"action":"created","issue":{"url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/219","labels_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/219/comments","events_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/219/events","html_url":"https://github.com/sameersbn/docker-gitlab/issues/219","id":50483394,"number":219,"title":"Fresh 7.5.1 installation fails due to libdevmapper.so filename mismatch","user":{"login":"keigoi","id":24670,"avatar_url":"https://avatars.githubusercontent.com/u/24670?v=3","gravatar_id":"","url":"https://api.github.com/users/keigoi","html_url":"https://github.com/keigoi","followers_url":"https://api.github.com/users/keigoi/followers","following_url":"https://api.github.com/users/keigoi/following{/other_user}","gists_url":"https://api.github.com/users/keigoi/gists{/gist_id}","starred_url":"https://api.github.com/users/keigoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keigoi/subscriptions","organizations_url":"https://api.github.com/users/keigoi/orgs","repos_url":"https://api.github.com/users/keigoi/repos","events_url":"https://api.github.com/users/keigoi/events{/privacy}","received_events_url":"https://api.github.com/users/keigoi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-01T03:07:47Z","updated_at":"2015-03-13T18:29:01Z","closed_at":null,"body":"Hi there,\r\n\r\nI found my fresh 7.5.1 installation fails on CentOS 6.6 host.\r\n```shell\r\n$ sudo docker run -it -d -e 'GITLAB_PORT=10080' -e 'GITLAB_SSH_PORT=10022' -p 10022:22 -p 10080:80 -v /var/run/docker.sock:/run/docker.sock -v $(which docker):/bin/docker sameersbn/gitlab\r\nDatabase connection details not specified.\r\nWill try to spin up a new postgresql image with the name postgresql-gitlab.\r\nPlease manually configure the database connection in production.\r\nStarting up a new postgresql container...\r\n$ echo $?\r\n127\r\n```\r\n\r\nThis is due to failure of nested docker invocation in the gitlab container. In the container, you can see:\r\n```shell\r\nroot@d7fea951fcc9:/# docker\r\ndocker: error while loading shared libraries: libdevmapper.so.1.02: cannot open shared object file: No such file or directory\r\n```\r\nHere libdevmapper.so somehow has slightly different version (1.02 -> 1.02.1).\r\nCreating a symbolic link will solve the isssue.\r\n```shell\r\nroot@d7fea951fcc9:/# ln -s /lib/x86_64-linux-gnu/libdevmapper.so.1.02.1 /lib/x86_64-linux-gnu/libdevmapper.so.1.02 && ldconfig\r\nroot@d7fea951fcc9:/# docker\r\nUsage: docker [OPTIONS] COMMAND [arg...]\r\n\r\nA self-sufficient runtime for linux containers.\r\n...\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/comments/79223267","html_url":"https://github.com/sameersbn/docker-gitlab/issues/219#issuecomment-79223267","issue_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/219","id":79223267,"user":{"login":"xphoon","id":836650,"avatar_url":"https://avatars.githubusercontent.com/u/836650?v=3","gravatar_id":"","url":"https://api.github.com/users/xphoon","html_url":"https://github.com/xphoon","followers_url":"https://api.github.com/users/xphoon/followers","following_url":"https://api.github.com/users/xphoon/following{/other_user}","gists_url":"https://api.github.com/users/xphoon/gists{/gist_id}","starred_url":"https://api.github.com/users/xphoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xphoon/subscriptions","organizations_url":"https://api.github.com/users/xphoon/orgs","repos_url":"https://api.github.com/users/xphoon/repos","events_url":"https://api.github.com/users/xphoon/events{/privacy}","received_events_url":"https://api.github.com/users/xphoon/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T18:29:01Z","updated_at":"2015-03-13T18:29:01Z","body":"For the benefit of others who may stumble on this thread when having this problem: I was able to fix the problem on my 64bit machine by simply adding -v /usr/lib64/libdevmapper.1.02:/usr/lib/libdevmapper.1.02 to the command line. I briefly tried simply using -v /usr/lib64:/usr/lib (in case there were other problematic libraries) but this created other problems. "}}