systemctl start docker.service无法启动docker 服务的解决方法

别来无恙 提交于 2020-01-15 03:42:34

运行systemctl status docker.service报错如下:

● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
   Active: failed (Result: start-limit) since Fri 2020-01-10 03:51:35 PST; 12s ago
     Docs: https://docs.docker.com
  Process: 28228 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
 Main PID: 28228 (code=exited, status=1/FAILURE)

Jan 10 03:51:33 localhost.localdomain systemd[1]: docker.service failed.
Jan 10 03:51:35 localhost.localdomain systemd[1]: Stopped Docker Application Container Engine.
Jan 10 03:51:40 localhost.localdomain systemd[1]: start request repeated too quickly for docker...ice
Jan 10 03:51:40 localhost.localdomain systemd[1]: Failed to start Docker Application Container ...ne.
Jan 10 03:51:40 localhost.localdomain systemd[1]: Unit docker.service entered failed state.
Jan 10 03:51:40 localhost.localdomain systemd[1]: docker.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

 

原因是mkfs.xfs版本太低,更新即可:

yum update xfsprogs

systemctl restart docker.service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!