Home >Operation and Maintenance >Docker >How to solve docker cannot log in
How to solve the problem that docker cannot log in?
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)
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 to:
Thensystemctl start docker
.
Related recommendations: docker tutorial
The above is the detailed content of How to solve docker cannot log in. For more information, please follow other related articles on the PHP Chinese website!