Docker启动失败——Job for docker.service failed because the control process exited with error...

Centos7安装docker,启动dockerJob for docker.service failed because the control process exited with error…错误。

1.systemctl start docker启动报以下错误:
Docker启动失败——Job for docker.service failed because the control process exited with error...
2.解决办法:禁用掉selinux
Docker启动失败——Job for docker.service failed because the control process exited with error...
3.把SELINUX=enforcing注释,改为SELINUX=disable
在vi编辑器下使用方向键到SELINUX所在行,按i或A进入插入模式,输入后按Esc退出插入模式,再按:wb进行保存。
Docker启动失败——Job for docker.service failed because the control process exited with error...
4.重启服务器,reboot。
5.再次执行命令systemctl start docker
Docker启动失败——Job for docker.service failed because the control process exited with error...