Home  >  Article  >  Operation and Maintenance  >  How to solve docker cannot log in

How to solve docker cannot log in

WJ
WJOriginal
2020-06-09 17:03:534184browse

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

How to solve docker cannot log in

Change to:

How to solve docker cannot log in

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn