Dockers Job for docker.service failed because the control process exited with error code
来源:互联网 发布:wps流程图软件visio 编辑:程序博客网 时间:2024/06/05 05:44
零、问题描述
Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” for details.
系统环境是 CentOS7.x,貌似是重启 Docker Engine
的时候会出现这种问题。
我就是参照Docker 镜像加速器设置完 Docker 镜像地址之后重启 Docker Engine
遇到这个问提的。
我重启的命令是:
# sudo systemctl daemon-reload# sudo service docker restart
一、解决方案
Google 了一圈,发现各种问答也很杂。但是最终我还是解决了!
1.1 方案一
也是提及最多的,删除 /var/lib/docker
目录:
# rm -rf /var/lib/docker# sudo systemctl daemon-reload# sudo service docker restart
然而我删完之后,还是不行。
1.2 方案二
安装 docker-io-selinux
:
# sudo yum install docker-io-selinux# sudo systemctl daemon-reload# sudo service docker restart
这个方法来自 [FIXED] Docker stopped working after ‘yum update’ and reboot (Centos 7)。
我安装完之后就可以了!然而却还不知道是什么原因!
1.2 其他提及的
找的过程中,还遇到其他说安装各种东西的。
CentOS7 启动docker.service失败 提及安装 device-mapper-event-libs
:
# sudo yum install device-mapper-event-libs# sudo systemctl daemon-reload# sudo service docker restart
Docker 1.5.0 package must require proper device-mapper version 提及安装 device-mapper-devel
:
# sudo yum install device-mapper-devel# sudo systemctl daemon-reload# sudo service docker restart
当然,我也不知道是安装来干嘛的。
阅读全文
0 0
- Dockers Job for docker.service failed because the control process exited with error code
- 解决Job for docker.service failed because the control process exited with error code. See "systemctl s
- Job for nginx.service failed because the control process exited with error code. See "systemctl stat
- Job for postfix.service failed because the control process exited with error code. See "systemctl st
- Job for tomcat.service failed because the control process exited with error code 解决办法:
- 解决Docker启动服务器链接失败-Job for docker.service failed because the control process exited error code
- Job for php-fpm.service failed because the control process exited with error code. See "systemctl st
- Centos 7不能上网,Job for iptables.service failed because the control process exited with error code.
- 关于nginx的Job for nginx.service failed because the control process exited with error code.错误
- 重启网卡报Job for network.service failed because the control process exited with error code.。。 错误
- OpenStack常见错误:无法开启http服务 Job for httpd.service failed because the control process exited with error
- mysql.service failed because the control process exited with error code问题
- gitlab搭建提示inet_interfacesJob for postfix.service failed because the control process exited with erro
- Git Commit failed with error The Git process exited with the code -1,073,741,819
- ubuntu 16.04 the control process exited with error code服务启动失败
- CentOS7报: Restarting network (via systemctl): Job for network.service failed because the control pr
- 关于vsftp出现Restarting vsftpd (via systemctl): Job for vsftpd.service failed because the control 的解决办法
- 关于vsftp出现Restarting vsftpd (via systemctl): Job for vsftpd.service failed because the control 的解决办法
- 【Leetcode】【python】ZigZag Conversion
- MySQL基础教程之存储过程
- 2017.08.08
- 错误提示:warning: push.default is unset
- redis连接不了客户端的问题
- Dockers Job for docker.service failed because the control process exited with error code
- 2017 暑假艾教集训 day8 (树链剖分+树上点分治)
- 线程池原理
- JS 原型
- 前端笔记——node.js
- 无限引流大助手3.0开源版
- Oracle中left join,right join,inner join分析
- 多线程之多个窗口卖票02
- 爬格子呀4-1