![为什么docker服务无法启动?](https://linux22.com/image/922752/%E4%B8%BA%E4%BB%80%E4%B9%88docker%E6%9C%8D%E5%8A%A1%E6%97%A0%E6%B3%95%E5%90%AF%E5%8A%A8%EF%BC%9F.png)
当我输入时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 上)