docker启动报错:Error starting daemon: SELinux is not supported with the overlay2 graph driver on this ke - Go语言中文社区

docker启动报错:Error starting daemon: SELinux is not supported with the overlay2 graph driver on this ke


环境:centos7

命令:systemctl start docker

          systemctl status docker -l

报错:Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel. Either boot into a newer kernel or disable selinux in docker (--selinux-enabled=false)


解决方案:

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

重新编辑docker配置文件:

vi /etc/sysconfig/docker

改为:

然后systemctl start docker 就好啦


版权声明:本文来源CSDN,感谢博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/a1010256340/article/details/80106156
站方申明:本站部分内容来自社区用户分享,若涉及侵权,请联系站方删除。
  • 发表于 2020-04-19 10:29:57
  • 阅读 ( 1050 )
  • 分类:Linux

0 条评论

请先 登录 后评论

官方社群

GO教程

猜你喜欢