首页 > 其他 > 详细

docker 启动报错

时间:2021-07-02 00:40:35      阅读:18      评论:0      收藏:0      [点我收藏+]

启动失败了。

先贴出错误信息

[root@localhost local]# systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Active: failed (Result: start-limit) since 一 2019-06-17 10:47:09 CST; 2min 29s ago
Docs: https://docs.docker.com
Process: 7795 ExecStart=/usr/bin/dockerd (code=exited, status=1/FAILURE)
Main PID: 7795 (code=exited, status=1/FAILURE)

6月 17 10:47:09 localhost.localdomain systemd[1]: docker.service failed.
6月 17 10:47:09 localhost.localdomain systemd[1]: docker.service holdoff time over, scheduling restart.
6月 17 10:47:09 localhost.localdomain systemd[1]: Stopped Docker Application Container Engine.
6月 17 10:47:09 localhost.localdomain systemd[1]: start request repeated too quickly for docker.service
6月 17 10:47:09 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.
6月 17 10:47:09 localhost.localdomain systemd[1]: Unit docker.service entered failed state.
6月 17 10:47:09 localhost.localdomain systemd[1]: docker.service failed.
6月 17 10:47:33 localhost.localdomain systemd[1]: start request repeated too quickly for docker.service
6月 17 10:47:33 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.
6月 17 10:47:33 localhost.localdomain systemd[1]: docker.service failed.
[root@localhost local]# systemctl start docker
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

 

 

[root@localhost docker]# vim /etc/docker/daemon.json

在 /etc/docker/daemon.json 添加内容:

{ "graph": "/mnt/docker-data", "storage-driver": "overlay" }

docker 启动报错

原文:https://www.cnblogs.com/sophia201552/p/14960134.html

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