Docker 无法启动

Docker 无法启动

由于某种原因,Docker 无法在我的 VPS 上启动,当我执行“systemctl status docker”时得到以下信息:

root@vps644072:~# service docker status
● docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2019-03-24 09:32:12 CET; 1min 2s ago
     Docs: https://docs.docker.com
  Process: 21966 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=203/EXEC)
 Main PID: 21966 (code=exited, status=203/EXEC)

Mar 24 09:32:12 vps644072 systemd[1]: Stopped Docker Application Container Engine.
Mar 24 09:32:12 vps644072 systemd[1]: docker.service: Start request repeated too quickly.
Mar 24 09:32:12 vps644072 systemd[1]: docker.service: Failed with result 'exit-code'.
Mar 24 09:32:12 vps644072 systemd[1]: Failed to start Docker Application Container Engine.
Mar 24 09:32:28 vps644072 systemd[1]: docker.service: Start request repeated too quickly.
Mar 24 09:32:28 vps644072 systemd[1]: docker.service: Failed with result 'exit-code'.
Mar 24 09:32:28 vps644072 systemd[1]: Failed to start Docker Application Container Engine.
Mar 24 09:32:51 vps644072 systemd[1]: docker.service: Start request repeated too quickly.
Mar 24 09:32:51 vps644072 systemd[1]: docker.service: Failed with result 'exit-code'.
Mar 24 09:32:51 vps644072 systemd[1]: Failed to start Docker Application Container Engine.

感谢任何能提供帮助的人。

答案1

通过运行“dpkg --configure -a”解决了这个问题。这似乎还解决了我刚刚意识到的其他一些问题。

答案2

这可能是数据存储方面的问题,正如 @Shearman 所说,重新配置它可能会很有用,但如果出现更严重的错误,总是有可能清理目录/var/lib/docker

相关内容