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

相關內容