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

             

1、问题描述

安装完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、查看错误详情
systemctl status docker.service

3、错误信息

Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel. Either boot into a newer kernel or dis...abled=false)

此处意思是linux的内核中的SELinux不支持 overlay2 graph driver ,解决方法有两个,要么启动一个新内核,要么就在docker里禁用selinux,–selinux-enabled=false,
后者解决办法如下:


4、重启docker






发表评论 请登录再评论
  •   文章分类
回到顶部