当前位置:   article > 正文

启动docker报错:“Job for docker.service failed because the control process exited with error”解决办法

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

1、启动docker时报错

[root@localhost ~]# 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、根据提示输入:[root@localhost ~]# systemctl status docker.service

如下图,SELinux is not supported with the overlay2 graph driver on this kernel.

SELinux不支持此内核上的overlay2图形驱动程序,禁用selinux即可

3、[root@localhost ~]# vim /etc/sysconfig/docker

修改信息如下图:

4、重启docker即可。

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
推荐阅读
相关标签
  

闽ICP备14008679号