解决docker启动报故“Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xeu docker.service” for details.”

修改Docker镜像源之后,重启Docker,执行systemctl restart docker.service, 然后报故障:

li@raspberrypi:/etc/docker $ sudo systemctl start docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xeu docker.service" for details.

解决办法:
1.进入docker目录:

$ cd /etc/docker/

2.修改daemon文件类型:

$ sudo mv daemon.json daemon.conf

3.启动docker

$ sudo systemctl start docker

问题解决!


热度:7℃

解决docker启动报故“Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xeu docker.service” for details.”》有2个想法

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注