为什么docker服务无法启动?

为什么docker服务无法启动?

当我输入时sudo service docker start出现此错误:

Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.

的输出systemctl status docker.service

 docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2020-03-29 23:13:17 PDT; 13s ago
     Docs: https://docs.docker.com
  Process: 15795 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
 Main PID: 15795 (code=exited, status=1/FAILURE)

Mar 29 23:13:17 ubuntu systemd[1]: docker.service: Service RestartSec=2s expired, scheduling restart.
Mar 29 23:13:17 ubuntu systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Mar 29 23:13:17 ubuntu systemd[1]: Stopped Docker Application Container Engine.
Mar 29 23:13:17 ubuntu systemd[1]: docker.service: Start request repeated too quickly.
Mar 29 23:13:17 ubuntu systemd[1]: docker.service: Failed with result 'exit-code'.
Mar 29 23:13:17 ubuntu systemd[1]: Failed to start Docker Application Container Engine.

并且输出journalctl -xe一遍Mar 29 23:24:29 ubuntu wpa_supplicant[2112]: wlx00c0ca97fef3: CTRL-EVENT-BEACON-LOSS又一遍,只是每行的时间不同

哪里出了问题?如何修复?

答案1

为了解决这个问题,我必须断开与我的 VPN 的连接。

运行后sudo dockerd -D显示网络错误。

(这是在 Ubuntu 20.04 上)

相关内容