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服務就發現成功了…,也可能是你配置的值有問題,或者太頻繁的重啓了…

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