status显示信息

● docker.service - Docker Application Container Engine
     Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Wed 2022-06-22 18:59:25 CST; 15h ago
TriggeredBy: ● docker.socket
       Docs: https://docs.docker.com
    Process: 5134 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock --insecure-registry=10.9.33.98 (code=exited, status=1/FAILURE)
   Main PID: 5134 (code=exited, status=1/FAILURE)

Jun 22 18:59:23 ubuntu-linux-20-04-desktop systemd[1]: docker.service: Failed with result 'exit-code'.
Jun 22 18:59:23 ubuntu-linux-20-04-desktop systemd[1]: Failed to start Docker Application Container Engine.
Jun 22 18:59:25 ubuntu-linux-20-04-desktop systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Jun 22 18:59:25 ubuntu-linux-20-04-desktop systemd[1]: Stopped Docker Application Container Engine.
Jun 22 18:59:25 ubuntu-linux-20-04-desktop systemd[1]: docker.service: Start request repeated too quickly.
Jun 22 18:59:25 ubuntu-linux-20-04-desktop systemd[1]: docker.service: Failed with result 'exit-code'.
Jun 22 18:59:25 ubuntu-linux-20-04-desktop systemd[1]: Failed to start Docker Application Container Engine.
Jun 22 18:59:26 ubuntu-linux-20-04-desktop systemd[1]: docker.service: Start request repeated too quickly.
Jun 22 18:59:26 ubuntu-linux-20-04-desktop systemd[1]: docker.service: Failed with result 'exit-code'.
Jun 22 18:59:26 ubuntu-linux-20-04-desktop systemd[1]: Failed to start Docker Application Container Engine.

这种问题一般是配置文件出错,比如你的配置文件名错误

  • 如果你有 /etc/docker/deamon.json这个配置文件,把它改成/etc/docker/deamon.conf
Logo

鸿蒙生态一站式服务平台。

更多推荐