Join our Discord Server
Ajeet Raina Ajeet Singh Raina is a former Docker Captain, Community Leader and Arm Ambassador. He is a founder of Collabnix blogging site and has authored more than 570+ blogs on Docker, Kubernetes and Cloud-Native Technology. He runs a community Slack of 8900+ members and discord server close to 2200+ members. You can follow him on Twitter(@ajeetsraina).

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 Ajeet Singh Raina is a former Docker Captain, Community Leader and Arm Ambassador. He is a founder of Collabnix blogging site and has authored more than 570+ blogs on Docker, Kubernetes and Cloud-Native Technology. He runs a community Slack of 8900+ members and discord server close to 2200+ members. You can follow him on Twitter(@ajeetsraina).
Join our Discord Server