Environment: centos7
Command: 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)
solution:
It means: SELinux in this linux kernel does not support overlay2 graph driver, there are two solutions, either start a new kernel, or disable selinux in docker, --selinux-enabled=false
Re-edit the docker configuration file:
vi /etc/sysconfig/docker
Change it to:
Then systemctl start docker is fine