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

匿名 (未验证) 提交于 2019-12-02 21:59:42

环境:centos7

命令:systemctl start docker

报错: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

原文地址:https://blog.csdn.net/a1010256340/article/details/80106156
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!