Home  >  Article  >  Operation and Maintenance  >  What should I do if the yum installation of docker fails to start?

What should I do if the yum installation of docker fails to start?

藏色散人
藏色散人Original
2022-10-21 16:13:352434browse

Solution to the failure of yum installation docker startup: 1. Start a new kernel; 2. Disable selinux in docker by executing the "--selinux-enabled=false" command; 3. Pass "service docker start docker info" command to restart docker.

What should I do if the yum installation of docker fails to start?

The operating environment of this tutorial: linux7.3 system, docker version 19.03, Dell G3 computer.

What should I do if the yum installation of docker fails to start?

Yum failed to start after installing docker Solution:

1, yum install docker

yum -y install docker

What should I do if the yum installation of docker fails to start?

##Start docker

service docker start

Error:

journalctl -xe
Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel.
Failed to start Docker Application Container Engine.

You can see the error message

Error starting daemon: SELinux is not supported with the overlay2 graph ...alse)

The SELinux in this Linux kernel does not support the overlay2 graph driver. There are two solutions, either start a new kernel, Or disable selinux in docker, --selinux-enabled=false

What should I do if the yum installation of docker fails to start?##Restart docker

service docker start
docker info

The problem is solved.

Recommended learning: "

docker video tutorial

"

The above is the detailed content of What should I do if the yum installation of docker fails to start?. 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