centos7 docker 启动失败 报错【Job for docker.service failed because the control process exited with error】

1.报错

   [root@192 ~]# systemctl start docker
   Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details

2.根据提示查看docker服务状态:

systemctl status docker.service

Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel. Ei…d=false)
SELinux不支持此内核上的overlay2图形驱动程序,禁用selinux即可
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-aKe39vb4-1580816097330)(./QQ截图20200204185030.png)]

3.解决方法:

方法1:禁用selinux
     vi /etc/sysconfig/docker
     修改:selinux-enabled=false
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-4mp5ll0w-1580816097332)(./QQ截图20200204185157.png)]


方法2:更新系统
     yum update
     重启系统:reboot


4.重新运行docker

systemctl start docker

发布了47 篇原创文章 · 获赞 7 · 访问量 2341

猜你喜欢

转载自blog.csdn.net/qq_43616898/article/details/104173871