Docker 遇到的一些错误

1、version Base not defined in file libdevmapper.so.1.02

在 Centos 6.5 上安装docker-io之后,使用/etc/init.d/docker start命令启动,发现docker没有启动

查看/var/log/docker docker的日志文件中发现下面错误

\nMon Sep 10 22:30:25 CST 2018\n
time="2018-09-10T22:30:25.751826863+08:00" level=warning msg="You are running linux kernel version 2.6.32-573.22.1.el6.x86_64, which might be unstable running docker. Please upgrade your kernel to 3.10.0."
time="2018-09-10T22:30:25.754602081+08:00" level=info msg="Listening for HTTP on unix (/var/run/docker.sock)"
/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
\nMon Sep 10 22:30:51 CST 2018\n

解决方式:

执行:yum upgrade device-mapper-libs

posted @ 2018-09-10 22:38  司家勇  阅读(741)  评论(0编辑  收藏  举报