在修改/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服务就发现成功了…,也可能是你配置的值有问题,或者太频繁的重启了…