您尚未登录。

#1 2021-05-13 16:08:11

牧羊人
会员
注册时间: 2019-07-08
帖子: 27

[已解决]docker服务无法启动

docker启动显示

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

查看journalctl -xeu docker.service显示

Failed to start Docker Application Container Engine.

百度说是daemon.json文件的问题,现在我把/etc/docker文件夹删除了,还是起不来

最近编辑记录 牧羊人 (2021-06-09 11:00:01)

离线

#2 2021-05-13 16:55:49

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 6,419
个人网站

Re: [已解决]docker服务无法启动

没有报错信息么?

在线

#3 2021-05-13 17:01:43

牧羊人
会员
注册时间: 2019-07-08
帖子: 27

Re: [已解决]docker服务无法启动

依云 说:

没有报错信息么?

× docker.service - Docker Application Container Engine
     Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Fri 2021-05-14 00:59:47 CST; 1min 28s ago
TriggeredBy: × docker.socket
       Docs: https://docs.docker.com
    Process: 14439 ExecStart=/usr/bin/dockerd -H fd:// (code=exited, status=1/FAILURE)
   Main PID: 14439 (code=exited, status=1/FAILURE)
        CPU: 220ms

May 14 00:59:47 Arch systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
May 14 00:59:47 Arch systemd[1]: Stopped Docker Application Container Engine.
May 14 00:59:47 Arch systemd[1]: docker.service: Start request repeated too quickly.
May 14 00:59:47 Arch systemd[1]: docker.service: Failed with result 'exit-code'.
May 14 00:59:47 Arch systemd[1]: Failed to start Docker Application Container Engine.

离线

#4 2021-05-13 17:25:49

wxg4net
会员
注册时间: 2012-01-07
帖子: 266

Re: [已解决]docker服务无法启动

牧羊人 说:
依云 说:

没有报错信息么?

× docker.service - Docker Application Container Engine
     Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Fri 2021-05-14 00:59:47 CST; 1min 28s ago
TriggeredBy: × docker.socket
       Docs: https://docs.docker.com
    Process: 14439 ExecStart=/usr/bin/dockerd -H fd:// (code=exited, status=1/FAILURE)
   Main PID: 14439 (code=exited, status=1/FAILURE)
        CPU: 220ms

May 14 00:59:47 Arch systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
May 14 00:59:47 Arch systemd[1]: Stopped Docker Application Container Engine.
May 14 00:59:47 Arch systemd[1]: docker.service: Start request repeated too quickly.
May 14 00:59:47 Arch systemd[1]: docker.service: Failed with result 'exit-code'.
May 14 00:59:47 Arch systemd[1]: Failed to start Docker Application Container Engine.

你的容器进程有问题,查看容器日志,找原因
我看错了

最近编辑记录 wxg4net (2021-05-13 20:56:22)


Arch Linux User

离线

#5 2021-05-13 17:46:31

牧羊人
会员
注册时间: 2019-07-08
帖子: 27

Re: [已解决]docker服务无法启动

wxg4net 说:
牧羊人 说:
依云 说:

没有报错信息么?

× docker.service - Docker Application Container Engine
     Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Fri 2021-05-14 00:59:47 CST; 1min 28s ago
TriggeredBy: × docker.socket
       Docs: https://docs.docker.com
    Process: 14439 ExecStart=/usr/bin/dockerd -H fd:// (code=exited, status=1/FAILURE)
   Main PID: 14439 (code=exited, status=1/FAILURE)
        CPU: 220ms

May 14 00:59:47 Arch systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
May 14 00:59:47 Arch systemd[1]: Stopped Docker Application Container Engine.
May 14 00:59:47 Arch systemd[1]: docker.service: Start request repeated too quickly.
May 14 00:59:47 Arch systemd[1]: docker.service: Failed with result 'exit-code'.
May 14 00:59:47 Arch systemd[1]: Failed to start Docker Application Container Engine.

你的容器进程有问题,查看容器日志,找原因

May 14 01:38:20 Arch dockerd[15031]: failed to start daemon: error initializing graphdriver: driver not supported
May 14 01:38:20 Arch systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
May 14 01:38:20 Arch systemd[1]: docker.service: Failed with result 'exit-code'.
May 14 01:38:20 Arch systemd[1]: Failed to start Docker Application Container Engine.
May 14 01:38:20 Arch systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
May 14 01:38:20 Arch systemd[1]: Stopped Docker Application Container Engine.
May 14 01:38:20 Arch systemd[1]: docker.service: Start request repeated too quickly.
May 14 01:38:20 Arch systemd[1]: docker.service: Failed with result 'exit-code'.
May 14 01:38:20 Arch systemd[1]: Failed to start Docker Application Container Engine.

离线

#6 2021-05-13 17:49:43

牧羊人
会员
注册时间: 2019-07-08
帖子: 27

Re: [已解决]docker服务无法启动

好像是驱动的问题

离线

#7 2021-05-13 17:51:17

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 6,419
个人网站

Re: [已解决]docker服务无法启动

搜了一下报错信息,我找到了这个: https://stackoverflow.com/q/49099625/296473

在线

页脚