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