Home > Operation and Maintenance > Docker > 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?

藏色散人
Release: 2022-10-21 16:13:35
Original
2465 people have browsed it

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
Copy after login

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

##Start docker

service docker start
Copy after login

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.
Copy after login

You can see the error message

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

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template