docker配置daemon.json:Job for docker.service failed because the control process exited with error code

docker配置daemon.json重启后报错:

[root@master1 skywalking]# vim /etc/docker/daemon.json
[root@master1 skywalking]# systemctl restart docker 
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

解决:

 daemon.json文件格式错误

正确的格式:

vim /etc/docker/daemon.json
{
  "registry-mirrors": ["https://xxxxxxx.mirror.aliyuncs.com"]
}
{
  "insecure-registries": ["172.xxx.xxx.xxx","10.xxx.xx.xx"]
}

你可能感兴趣的:(docker,json,容器)