4、解决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

结果如下:
在这里插入图片描述
4、解决docker启动报错:Job for docker.service failed because the control process exited with error code_第1张图片

二、问题解决

1、进入docker目录:

cd /etc/docker/

2、修改daemon的类型:

mv daemon.json daemon.conf

3、重启docker:

systemctl restart docker

4、解决docker启动报错:Job for docker.service failed because the control process exited with error code_第2张图片

你可能感兴趣的:(系统运维,docker,java)