首页 > 其他 > 详细

服务器重启后,docker无法启动

时间:2020-10-28 14:17:26      阅读:447      评论:0      收藏:0      [点我收藏+]

服务器重启后,docker无法启动
1、docker images,提示如下错误
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
经查是重启服务器后,没有启动docker
2、尝试启动docker systemctl start docker,但是还是报错
Job for docker.service failed because start of the service was attempted too often. See “systemctl status docker.service” and “journalctl -xe” for details.
To force a start use “systemctl reset-failed docker.service” followed by “systemctl start docker.service” again.

3、解决方法:
cd /etc/docker
mv daemon.json daemon.conf
systemctl restart docker
docker images
启动成功,完美解决。

服务器重启后,docker无法启动

原文:https://www.cnblogs.com/asyouwish/p/13890281.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!