一,yum安装docker
yum -y install docker
启动docker
service docker start
报错:
journalctl -xe
Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel.
Failed to start Docker Application Container Engine.
可以看出错误信息
Error starting daemon: SELinux is not supported with the overlay2 graph ...alse)
此linux的内核中的SELinux不支持 overlay2 graph driver ,解决方法有两个,要么启动一个新内核,要么就在docker里禁用selinux,--selinux-enabled=false
重启docker
service docker start
docker info
问题解决。