启动Docker 出现Job for docker.service failed because the control process exited with error code. See &qu

  在从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"

 

原文章:https://blog.csdn.net/qq_35904833/article/details/74189383

上一篇:Job for docker.service failed because start of the service was attempted too often


下一篇:vscode使用anaconda的python环境提示“Can't connect to HTTPS URL because the SSL module is not available”