Ajeet Raina Docker Captain, ARM Innovator & Docker Bangalore Community Leader.

Error: /usr/bin/docker: relocation error

22 sec read

Are you getting the below error while starting with the fresh docker installation on CentOS 7.0?

/usr/bin/docker: relocation error: /usr/bin/docker: symbol dm_task_get_info_with_deferred_remove, version Base not defined in file libdevmapper.so.1.02 with link time reference

Fix: This is possibly an issue with devicemapper ( still Red Hat is trying to get it fixed).
The solution is running yum update which will fetch the latest devicemapper related packages and it should fix the issue.

Also, you can follow the below steps for smooth functioning of docker:

1. Disable SELINUX
2. Disable iptables
3. Remove SELINUX entry under /etc/sysconfig/docker

Happy Dockerizing !!!!

Have Queries? Join https://launchpass.com/collabnix

Ajeet Raina Docker Captain, ARM Innovator & Docker Bangalore Community Leader.

Leave a Reply

Your email address will not be published.