启动Docker 出现Job for docker.service failed because the control process exited with error code. See "错误
在从yum源下载安装完成Docker以后,启动出现 “Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for
·
在从yum源下载安装完成Docker以后,启动出现 “Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details” 错误 。
- 试过了删除并重新安装docker(yum remove docker), 还是没有解决问题。
- 最后通过以下方法解决了问题:
- # rm -rf /var/lib/docker/
- # 添加如下内容
- # vim /etc/docker/daemon.json
- {
- "graph": "/mnt/docker-data",
- "storage-driver": "overlay"
- }
以下是源链接:
更多推荐
已为社区贡献1条内容
所有评论(0)