docker报错Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” for details.
问题描述
centos7安装docker一切顺利,
systemctl start docker
启动docker时报错:
Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” for details.
systemctl status docker
排查:
经过重重尝试,受这篇文章启发,感觉跟防火墙有关,既然如此最后发现关闭防火墙就行了…无语
解决
cd /bin
systemctl stop firewalld.service
systemctl disable firewalld.service