centos 6 安装docker
- sudo yum install docker-io
- sudo service docker start
- sudo chkconfig docker on
报错
Docker#docker dead but pid file exists
错误
查看 /var/log/docker 日志
time="2015-02-10T15:26:08+08:00" level="info" msg="+job serveapi(unix:///var/run/docker.sock)"
time="2015-02-10T15:26:08+08:00" level="info" msg="WARNING: You are running linux kernel version 2.6.32-431.el6.x86_64, which might be unstable running docker. Please u
pgrade your kernel to 3.8.0.
time="2015-02-10T15:26:08+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 r
eference
解决办法:
执行:yum upgrade device-mapper-libs
时间: 2024-10-13 06:45:22