启动docker报错docker: relocation error:symbol dm_task_get_info_with_deferred_remove

今天从公司一个闲置电脑上装个docker,不料安装没有那么顺利,启动docker有如下报错:

$ docker -d
WARN[0000] You are running linux kernel version 2.6.32-431.23.3.el6.x86_64, which might be unstable running docker. Please upgrade your kernel to 3.10.0. 
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock) 
docker: relocation error: docker: symbol dm_task_get_info_with_deferred_remove, version Base not defined in file libdevmapper.so.1.02 with link time reference

其中警告了kernel升级,这个可以忽略,但还是建议升一下内核,最主要的问题是symbol dm_task_get_info_with_deferred_remove问题

网友提供的解决方案如下:

yum -y  upgrade device-mapper-libs

瞬间解决了。

ps 系统环境如下:

$ cat /etc/issue
CentOS release 6.5 (Final)
Kernel \r on an \m

$ uname -r
2.6.32-431.23.3.el6.x86_64

One Comment

Comments are closed.