报错:重启Docker报错如何解决

[root@ce-docker ~]# systemctl restart 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.

[root@ce-docker ~]# vim /etc/docker/daemon.json
[root@ce-docker ~]# mv /etc/docker/daemon.json /etc/docker/daemon.conf
[root@ce-docker ~]# systemctl start docker

这样就成功了

posted @ 2020-12-22 23:05  Biu小怪兽  阅读(528)  评论(0编辑  收藏  举报