解决docker启动报错:Job for docker.service failed because the control process exited with error code

一、问题描述

启动docker服务:sudo systemctl restart docker

提示:Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

查看服务信息:systemctl status docker.service

 

二、问题解决

1、进入docker目录:cd /etc/docker/

2、修改daemon的类型:mv daemon.json daemon.conf

3、重启docker:systemctl restart docker

猜你喜欢

转载自blog.csdn.net/weixin_71438279/article/details/127524597