Failed to start Docker Application Container Engine.

docker版本20

sudo systemctl daemon-reload
sudo systemctl restart docker

失败,我按提示输入命令
systemctl status docker.service -l

得到结果

● docker.service - Docker Application Container Engine
     Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sat 2020-11-28 23:57:39 CST; 2min 36s ago
TriggeredBy: ● docker.socket
       Docs: https://docs.docker.com
    Process: 51211 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
   Main PID: 51211 (code=exited, status=1/FAILURE)

11月 28 23:57:39 zitao systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
11月 28 23:57:39 zitao systemd[1]: Stopped Docker Application Container Engine.
11月 28 23:57:39 zitao systemd[1]: docker.service: Start request repeated too quickly.
11月 28 23:57:39 zitao systemd[1]: docker.service: Failed with result 'exit-code'.
11月 28 23:57:39 zitao systemd[1]: Failed to start Docker Application Container Engine.
11月 28 23:57:58 zitao systemd[1]: docker.service: Start request repeated too quickly.
11月 28 23:57:58 zitao systemd[1]: docker.service: Failed with result 'exit-code'.
11月 28 23:57:58 zitao systemd[1]: Failed to start Docker Application Container Engine.

到这里没法解决了,我百度很多都没办法。但是一天之后我看到了这一个
http://www.docker.org.cn/thread/72.html
有个大神的解决方法是这样,改掉daemon.json成这样

}
“registry-mirrors”: [“https://xxxxxxx.mirror.aliyuncs.com”],
“storage-driver” : “devicemapper”
}

改完之后我成功启动docker服务

转自:https://blog.csdn.net/wy121125/article/details/104364305

posted @ 2020-11-29 00:22  沐沐子枫  阅读(445)  评论(0编辑  收藏  举报