今天部署K8s的时候,在linux上安装docker的时候出现无法启动的问题如下
yum install docker -y
启动出错
1
错误信息提醒:
Error starting daemon: SELinux is not supported with the overlay2 graph ...alse)此linux的内核中的SELinux不支持 overlay2 graph driver ,处理方法有两个,要么启动一个新内核,要么就在docker里禁使用selinux,--selinux-enabled=false
处理方法:
启动正常: