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:
Solution:
Modify the docker file, specific command:
vi /etc/sysconfig/docker
Add =false after --selinux-enabled. As shown in the picture below:
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!