Home  >  Q&A  >  body text

centos7 - CentOS 7 Docker启动服务失败

CentOS 7 用官方的脚本安装的docker,启动服务失败:
详细错误信息: 请问怎么办? 机器是AWS上的标准的CentOS 7 镜像。

systemctl status docker.service -l
docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled)
Active: failed (Result: exit-code) since Wed 2015-10-07 08:00:29 UTC; 8s ago

 Docs: https://docs.docker.com

Process: 952 ExecStart=/usr/bin/docker daemon -H fd:// (code=exited, status=127)
Main PID: 952 (code=exited, status=127)

Oct 07 08:00:28 ip-172-31-26-174.ap-northeast-1.compute.internal systemd[1]: Starting Docker Application Container Engine...
Oct 07 08:00:29 ip-172-31-26-174.ap-northeast-1.compute.internal docker[952]: /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
Oct 07 08:00:29 ip-172-31-26-174.ap-northeast-1.compute.internal systemd[1]: docker.service: main process exited, code=exited, status=127/n/a
Oct 07 08:00:29 ip-172-31-26-174.ap-northeast-1.compute.internal systemd[1]: Failed to start Docker Application Container Engine.
Oct 07 08:00:29 ip-172-31-26-174.ap-northeast-1.compute.internal systemd[1]: Unit docker.service entered failed state.

怪我咯怪我咯2709 days ago612

reply all(1)I'll reply

  • 阿神

    阿神2017-04-22 09:01:33

    Solved:

    Execute: yum upgrade device-mapper-libs

    reply
    0
  • Cancelreply