Job for docker.service failed because the control process exited with error code...

在修改/etc/docker/daemon.json文件后重启docker引发以下异常

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

当时我的/etc/docker/daemon.json文件如下

{
"registry-mirrors":["https://361z9p6b.mirror.aliyuncs.com"] //私服镜像加速
,"insecure-registries":["120.77.169.172:8080"] //私服地址
}

解决方案:

把注释删掉,然后再重启docker服务就发现成功了…,也可能是你配置的值有问题,或者太频繁的重启了…

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章