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

报错提示

[root@docker01 docker]# 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.

 

Job for docker.service failed because the control process exited with error code
这个一般是由于/etc/docker/daemon.json里面配置有误
正确配置例子

[root@docker01 docker]# cat /etc/docker/daemon.json
"registry-mirrors": ["https://aeckruos.mirror.aliyuncs.com"],
"insecure-registries": ["192. 168.6.129: 5000"]
}

逗号不能漏
切记切记。。。。。每行是有一个,号作为分隔符。

赞赏

微信赞赏支付宝赞赏

故障案例

docker容器:Failed to get D-Bus connection: Operation not permitted

2020-2-24 9:37:55

故障案例

The push refers to repository-denied: requested access to the resource is denied

2020-3-3 9:42:34

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
有新消息 消息中心
搜索