Home  >  Article  >  Operation and Maintenance  >  Cannot start docker under centos7

Cannot start docker under centos7

王林
王林Original
2020-04-01 11:27:252238browse

Cannot start docker under centos7

Docker installation is successful but startup fails. Check the docker service.

systemctl status docker.service

The service log prompts Failed to start Docker Application Container Engine. As shown in the figure below:

Cannot start docker under centos7

Solution:

Modify the docker file, specific command:

vi  /etc/sysconfig/docker

Add =false after --selinux-enabled. As shown in the picture below:

Cannot start docker under centos7

Recommended related tutorials: centos tutorial

The above is the detailed content of Cannot start docker under centos7. 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