Home > Article > Operation and Maintenance > What to do if centos docker fails to start
Solution to centos docker startup failure: 1. Open the docker configuration file; 2. Edit the content as "OPTIONS='--selinux-enabled=false..."; 3. Execute "systemctl restart docker" Just order.
The operating environment of this article: CentOS 7 system, Docker-CE version, Dell G3 computer.
What should I do if centos docker fails to start?
centos7 solution to the failure to start docker:
The control terminal uses yum install docker to install docker and then fails to start docker, and the following message appears:
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
I was confused at that time, I followed the prompt systemctl status docker.service and then the following information appeared on the control end:
Me I found that this seems to be due to docker not supporting the image kernel driver: SELinux does not support the OrthALA2 graphics driver on this kernel
Re-edit the docker configuration file:
vi /etc/sysconfig/docker
# /etc/sysconfig/docker # Modify these options if you want to change the way the docker daemon runs OPTIONS='--selinux-enabled=false --log-driver=journald --signature-verification=false' if [ -z "${DOCKER_CERT_PATH}" ]; then DOCKER_CERT_PATH=/etc/docker fi
Finally recompile: systemctl restart docker successful!
Recommended learning: "docker video tutorial"
The above is the detailed content of What to do if centos docker fails to start. For more information, please follow other related articles on the PHP Chinese website!