centos7下docker启动失败--ob for docker.service failed because the control process exited with error code.

时间:2024-03-20 10:14:22

今天在配置openshift用docker部署镜像的时候,启动docker发现竟然启动失败:

 

centos7下docker启动失败--ob for docker.service failed because the control process exited with error code.

 

centos7下docker启动失败--ob for docker.service failed because the control process exited with error code.

之前是可以启动的,突然不能启动了,想到我改了配置文件:

执行:

vim /etc/sysconfig/docker

centos7下docker启动失败--ob for docker.service failed because the control process exited with error code.

可能是家的内容有问题,删除添加内容如下:

centos7下docker启动失败--ob for docker.service failed because the control process exited with error code.

然后再次启动,发现启动成功!

centos7下docker启动失败--ob for docker.service failed because the control process exited with error code.