您尚未登录。

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

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

[已解决]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
帖子: 8,384
个人网站

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

没有报错信息么?

离线

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

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

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
帖子: 272

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
帖子: 64

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
帖子: 64

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

好像是驱动的问题

离线

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

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

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

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

离线

#8 2022-03-03 13:00:01

ReEcho
会员
注册时间: 2022-03-03
帖子: 1

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

遇到了相同的问题,虽然没在本帖子看到直接的解决办法,但后来发现重启之后就能正常启动 docker 服务了。

离线

#9 2022-12-21 11:22:23

Acoollib
会员
注册时间: 2022-03-14
帖子: 5

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

我也碰到一样的问题了,更新后出现的,之前一直正常使用。

➜  docker version
Client:
 Version:           20.10.21
 API version:       1.41
 Go version:        go1.19.2
 Git commit:        baeda1f82a
 Built:             Thu Oct 27 21:30:31 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

日志如下:

➜  sudo systemctl restart docker
[sudo] password for u: 
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.

➜  systemctl status docker.service
× docker.service - Docker Application Container Engine
     Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Wed 2022-12-21 11:12:30 CST; 52s ago
TriggeredBy: × docker.socket
       Docs: https://docs.docker.com
    Process: 2103 ExecStart=/usr/bin/dockerd -H fd:// (code=exited, status=1/FAILURE)
   Main PID: 2103 (code=exited, status=1/FAILURE)
        CPU: 228ms

Dec 21 11:12:30 archlinux systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Dec 21 11:12:30 archlinux systemd[1]: Stopped Docker Application Container Engine.
Dec 21 11:12:30 archlinux systemd[1]: docker.service: Start request repeated too quickly.
Dec 21 11:12:30 archlinux systemd[1]: docker.service: Failed with result 'exit-code'.
Dec 21 11:12:30 archlinux systemd[1]: Failed to start Docker Application Container Engine.
➜  journalctl -xeu docker.service
Dec 21 11:12:15 archlinux systemd[1]: docker.service: Scheduled restart job, restart counter is at 2.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ Automatic restarting of the unit docker.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Dec 21 11:12:15 archlinux systemd[1]: Stopped Docker Application Container Engine.
░░ Subject: A stop job for unit docker.service has finished
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A stop job for unit docker.service has finished.
░░ 
░░ The job identifier is 2169 and the job result is done.
Dec 21 11:12:15 archlinux systemd[1]: Starting Docker Application Container Engine...
░░ Subject: A start job for unit docker.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit docker.service has begun execution.
░░ 
░░ The job identifier is 2169.
Dec 21 11:12:15 archlinux dockerd[2103]: time="2022-12-21T11:12:15.779540198+08:00" level=info msg="Starting up"
Dec 21 11:12:15 archlinux dockerd[2103]: time="2022-12-21T11:12:15.780897467+08:00" level=info msg="libcontainerd: started new containerd process" pid=2113
Dec 21 11:12:15 archlinux dockerd[2103]: time="2022-12-21T11:12:15.780971290+08:00" level=info msg="parsed scheme: \"unix\"" module=grpc
Dec 21 11:12:15 archlinux dockerd[2103]: time="2022-12-21T11:12:15.780980921+08:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Dec 21 11:12:15 archlinux dockerd[2103]: time="2022-12-21T11:12:15.781072978+08:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
Dec 21 11:12:15 archlinux dockerd[2103]: time="2022-12-21T11:12:15.781124259+08:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15+08:00" level=warning msg="containerd config version `1` has been deprecated and will be removed in containerd v2.0, please switch to version `2`, see https://github.com/containerd/containerd/blob/main/docs/PLUGINS.md#version-header"
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.808665012+08:00" level=info msg="starting containerd" revision=a05d175400b1145e5e6a735a6710579d181e7fb0.m version=v1.6.12
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.820718685+08:00" level=info msg="loading plugin \"io.containerd.content.v1.content\"..." type=io.containerd.content.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.820792847+08:00" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.823646070+08:00" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.aufs\"..." error="aufs is not supported (modprobe aufs failed: exit status 1 \"modprobe: FATAL: Module aufs not found in directory /lib/modules/6.0.12-arch1-1\\n\"): skip plugin" type=io.containerd.snapshotter.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.823698447+08:00" level=info msg="loading plugin \"io.containerd.snapshotter.v1.btrfs\"..." type=io.containerd.snapshotter.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.823854192+08:00" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.btrfs\"..." error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs (ext4) must be a btrfs filesystem to be used with the btrfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.823888188+08:00" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.823903430+08:00" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.823912355+08:00" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.823933830+08:00" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824063300+08:00" level=info msg="loading plugin \"io.containerd.snapshotter.v1.zfs\"..." type=io.containerd.snapshotter.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824220011+08:00" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.zfs\"..." error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824257021+08:00" level=info msg="loading plugin \"io.containerd.metadata.v1.bolt\"..." type=io.containerd.metadata.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824275558+08:00" level=warning msg="could not use snapshotter devmapper in metadata plugin" error="devmapper not configured"
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824283516+08:00" level=info msg="metadata content store policy set" policy=shared
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824375512+08:00" level=info msg="loading plugin \"io.containerd.differ.v1.walking\"..." type=io.containerd.differ.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824393242+08:00" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824404476+08:00" level=info msg="loading plugin \"io.containerd.gc.v1.scheduler\"..." type=io.containerd.gc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824428397+08:00" level=info msg="loading plugin \"io.containerd.service.v1.introspection-service\"..." type=io.containerd.service.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824439934+08:00" level=info msg="loading plugin \"io.containerd.service.v1.containers-service\"..." type=io.containerd.service.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824449696+08:00" level=info msg="loading plugin \"io.containerd.service.v1.content-service\"..." type=io.containerd.service.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824458676+08:00" level=info msg="loading plugin \"io.containerd.service.v1.diff-service\"..." type=io.containerd.service.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824468908+08:00" level=info msg="loading plugin \"io.containerd.service.v1.images-service\"..." type=io.containerd.service.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824552333+08:00" level=info msg="loading plugin \"io.containerd.service.v1.leases-service\"..." type=io.containerd.service.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824569724+08:00" level=info msg="loading plugin \"io.containerd.service.v1.namespaces-service\"..." type=io.containerd.service.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824579875+08:00" level=info msg="loading plugin \"io.containerd.service.v1.snapshots-service\"..." type=io.containerd.service.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824610728+08:00" level=info msg="loading plugin \"io.containerd.runtime.v1.linux\"..." type=io.containerd.runtime.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824665586+08:00" level=info msg="loading plugin \"io.containerd.runtime.v2.task\"..." type=io.containerd.runtime.v2
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824727197+08:00" level=info msg="loading plugin \"io.containerd.monitor.v1.cgroups\"..." type=io.containerd.monitor.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824962925+08:00" level=info msg="loading plugin \"io.containerd.service.v1.tasks-service\"..." type=io.containerd.service.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825014866+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.introspection\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825028987+08:00" level=info msg="loading plugin \"io.containerd.internal.v1.restart\"..." type=io.containerd.internal.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825093340+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.containers\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825107193+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.content\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825117211+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.diff\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825126932+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.events\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825136234+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.healthcheck\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825146707+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.images\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825155772+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.leases\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825164477+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.namespaces\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825175783+08:00" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825202258+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.snapshots\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825711498+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.tasks\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825921301+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.version\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825992822+08:00" level=info msg="loading plugin \"io.containerd.tracing.processor.v1.otlp\"..." type=io.containerd.tracing.processor.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.826050805+08:00" level=info msg="skip loading plugin \"io.containerd.tracing.processor.v1.otlp\"..." error="no OpenTelemetry endpoint: skip plugin" type=io.containerd.tracing.processor.v1
Dec 21 11:12:15 archlinux dockerd[2113]: panic: invalid page type: 6: 10
Dec 21 11:12:15 archlinux dockerd[2113]: goroutine 56 [running]:
Dec 21 11:12:15 archlinux dockerd[2113]: go.etcd.io/bbolt.(*Cursor).search(0xc00046f2b0, {0x317b1dc, 0x6, 0x6}, 0xc0005161a0?)
Dec 21 11:12:15 archlinux dockerd[2113]:         go.etcd.io/bbolt@v1.3.6/cursor.go:250 +0x299
Dec 21 11:12:15 archlinux dockerd[2113]: go.etcd.io/bbolt.(*Cursor).searchPage(0xc00046f2b0, {0x317b1dc, 0x6, 0x6}, 0xc00046f208?)
Dec 21 11:12:15 archlinux dockerd[2113]:         go.etcd.io/bbolt@v1.3.6/cursor.go:308 +0x166
Dec 21 11:12:15 archlinux dockerd[2113]: go.etcd.io/bbolt.(*Cursor).search(0xc00046f2b0, {0x317b1dc, 0x6, 0x6}, 0xc00046f250?)
Dec 21 11:12:15 archlinux dockerd[2113]:         go.etcd.io/bbolt@v1.3.6/cursor.go:265 +0x1db
Dec 21 11:12:15 archlinux dockerd[2113]: go.etcd.io/bbolt.(*Cursor).seek(0xc00046f2b0, {0x317b1dc?, 0xc000160c00?, 0x0?})
Dec 21 11:12:15 archlinux dockerd[2113]:         go.etcd.io/bbolt@v1.3.6/cursor.go:159 +0x48
Dec 21 11:12:15 archlinux dockerd[2113]: go.etcd.io/bbolt.(*Bucket).Bucket(0xc000160c00, {0x317b1dc, 0x6, 0x6})
Dec 21 11:12:15 archlinux dockerd[2113]:         go.etcd.io/bbolt@v1.3.6/bucket.go:105 +0xd1
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/metadata/boltutil.readMap(0xc00046f368?, {0x317b1dc?, 0x40?, 0x0?})
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/metadata/boltutil/helpers.go:49 +0x25
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/metadata/boltutil.ReadLabels(...)
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/metadata/boltutil/helpers.go:39
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/metadata.readContainer(0xc00046f408, 0xc000160c00)
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/metadata/containers.go:314 +0x45
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/metadata.(*containerStore).List.func1.1({0x7f01b40cd080, 0x40, 0x1019a7d?}, {0xc000160980?, 0x317b820?, 0xa?})
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/metadata/containers.go:101 +0x105
Dec 21 11:12:15 archlinux dockerd[2113]: go.etcd.io/bbolt.(*Bucket).ForEach(0xc0001609c0, 0xc00046f6b8)
Dec 21 11:12:15 archlinux dockerd[2113]:         go.etcd.io/bbolt@v1.3.6/bucket.go:390 +0xa4
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/metadata.(*containerStore).List.func1(0xc000540270?)
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/metadata/containers.go:94 +0x165
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/metadata.view({0x2552c40?, 0xc000540270?}, {0x2540c10, 0xc00027e5b0}, 0xc0005402d0)
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/metadata/bolt.go:48 +0x62
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/metadata.(*containerStore).List(0xc000014120, {0x2552c40, 0xc000540270}, {0xc0000e0060, 0x1, 0x1})
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/metadata/containers.go:88 +0x1de
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/services/containers.(*local).ListStream.func1({0x2552c40?, 0xc000540270?})
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/services/containers/local.go:107 +0x6c
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/services/containers.(*local).withStore.func1(0x20?)
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/services/containers/local.go:203 +0x50
Dec 21 11:12:15 archlinux dockerd[2113]: go.etcd.io/bbolt.(*DB).View(0xc1c5a7?, 0xc00041e060)
Dec 21 11:12:15 archlinux dockerd[2113]:         go.etcd.io/bbolt@v1.3.6/db.go:772 +0x82
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/metadata.(*DB).View(...)
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/metadata/db.go:239
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/services/containers.(*local).withStoreView(0xc0002ef890, {0x2552c40?, 0xc0005401b0?}, 0x203000?)
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/services/containers/local.go:208 +0x3f
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/services/containers.(*local).ListStream(0xc0002ef890, {0x2552c40?, 0xc0005401b0}, 0xc0001608c0, {0x0?, 0xc000071b88?, 0xd0b2bb?})
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/services/containers/local.go:106 +0xe8
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd.(*remoteContainers).stream(0xc000250720, {0x2552c40, 0xc0005401b0}, {0xc0000e0060, 0x1, 0x1})
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/containerstore.go:80 +0xd9
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd.(*remoteContainers).List(0xc000071cf8?, {0x2552c40, 0xc0005401b0}, {0xc0000e0060, 0x1, 0x1})
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/containerstore.go:57 +0x3e
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd.(*Client).Containers(0xc000458000, {0x2552c40, 0xc0005401b0}, {0xc0000e0060, 0x1, 0x1})
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/client.go:258 +0x92
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/runtime/restart/monitor.(*monitor).monitor(0xc000536030, {0x2552c40, 0xc0005401b0})
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/runtime/restart/monitor/monitor.go:205 +0xfc
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/runtime/restart/monitor.(*monitor).reconcile.func1()
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/runtime/restart/monitor/monitor.go:181 +0xab
Dec 21 11:12:15 archlinux dockerd[2113]: created by github.com/containerd/containerd/runtime/restart/monitor.(*monitor).reconcile
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/runtime/restart/monitor/monitor.go:178 +0x18c
Dec 21 11:12:15 archlinux dockerd[2103]: time="2022-12-21T11:12:15.830010792+08:00" level=error msg="containerd did not exit successfully" error="exit status 2" module=libcontainerd
Dec 21 11:12:16 archlinux dockerd[2103]: time="2022-12-21T11:12:16.782172488+08:00" level=warning msg="grpc: addrConn.createTransport failed to connect to {unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}. Err :connection error: desc = \"transport: error while dialing: dial unix:///var/run/docker/containerd/containerd.sock: timeout\". Reconnecting..." module=grpc
Dec 21 11:12:19 archlinux dockerd[2103]: time="2022-12-21T11:12:19.281341204+08:00" level=warning msg="grpc: addrConn.createTransport failed to connect to {unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}. Err :connection error: desc = \"transport: error while dialing: dial unix:///var/run/docker/containerd/containerd.sock: timeout\". Reconnecting..." module=grpc
Dec 21 11:12:22 archlinux dockerd[2103]: time="2022-12-21T11:12:22.927516691+08:00" level=warning msg="grpc: addrConn.createTransport failed to connect to {unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}. Err :connection error: desc = \"transport: error while dialing: dial unix:///var/run/docker/containerd/containerd.sock: timeout\". Reconnecting..." module=grpc
Dec 21 11:12:28 archlinux dockerd[2103]: time="2022-12-21T11:12:28.323776806+08:00" level=warning msg="grpc: addrConn.createTransport failed to connect to {unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}. Err :connection error: desc = \"transport: error while dialing: dial unix:///var/run/docker/containerd/containerd.sock: timeout\". Reconnecting..." module=grpc
Dec 21 11:12:30 archlinux dockerd[2103]: failed to start containerd: timeout waiting for containerd to start
Dec 21 11:12:30 archlinux systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ An ExecStart= process belonging to unit docker.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 1.
Dec 21 11:12:30 archlinux systemd[1]: docker.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit docker.service has entered the 'failed' state with result 'exit-code'.
Dec 21 11:12:30 archlinux systemd[1]: Failed to start Docker Application Container Engine.
░░ Subject: A start job for unit docker.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit docker.service has finished with a failure.
░░ 
░░ The job identifier is 2169 and the job result is failed.
Dec 21 11:12:30 archlinux systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ Automatic restarting of the unit docker.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Dec 21 11:12:30 archlinux systemd[1]: Stopped Docker Application Container Engine.
░░ Subject: A stop job for unit docker.service has finished
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A stop job for unit docker.service has finished.
░░ 
░░ The job identifier is 2269 and the job result is done.
Dec 21 11:12:30 archlinux systemd[1]: docker.service: Start request repeated too quickly.
Dec 21 11:12:30 archlinux systemd[1]: docker.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit docker.service has entered the 'failed' state with result 'exit-code'.
Dec 21 11:12:30 archlinux systemd[1]: Failed to start Docker Application Container Engine.
░░ Subject: A start job for unit docker.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit docker.service has finished with a failure.
░░ 
░░ The job identifier is 2269 and the job result is failed.

离线

#10 2022-12-21 12:07:24

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

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

Acoollib 说:

我也碰到一样的问题了,更新后出现的,之前一直正常使用。

请勿劫持话题。你这是完全不一样的问题。请另开主题来讨论。

另外贴日志的时候,journalctl 不要加 -x 和 -e。

离线

#11 2022-12-21 13:45:10

Acoollib
会员
注册时间: 2022-03-14
帖子: 5

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

抱歉,已重新开贴 https://bbs.archlinuxcn.org/viewtopic.p … 483#p54483

Acoollib 说:

我也碰到一样的问题了,更新后出现的,之前一直正常使用。

➜  docker version
Client:
 Version:           20.10.21
 API version:       1.41
 Go version:        go1.19.2
 Git commit:        baeda1f82a
 Built:             Thu Oct 27 21:30:31 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

日志如下:

➜  sudo systemctl restart docker
[sudo] password for u: 
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.

➜  systemctl status docker.service
× docker.service - Docker Application Container Engine
     Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Wed 2022-12-21 11:12:30 CST; 52s ago
TriggeredBy: × docker.socket
       Docs: https://docs.docker.com
    Process: 2103 ExecStart=/usr/bin/dockerd -H fd:// (code=exited, status=1/FAILURE)
   Main PID: 2103 (code=exited, status=1/FAILURE)
        CPU: 228ms

Dec 21 11:12:30 archlinux systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Dec 21 11:12:30 archlinux systemd[1]: Stopped Docker Application Container Engine.
Dec 21 11:12:30 archlinux systemd[1]: docker.service: Start request repeated too quickly.
Dec 21 11:12:30 archlinux systemd[1]: docker.service: Failed with result 'exit-code'.
Dec 21 11:12:30 archlinux systemd[1]: Failed to start Docker Application Container Engine.
➜  journalctl -xeu docker.service
Dec 21 11:12:15 archlinux systemd[1]: docker.service: Scheduled restart job, restart counter is at 2.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ Automatic restarting of the unit docker.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Dec 21 11:12:15 archlinux systemd[1]: Stopped Docker Application Container Engine.
░░ Subject: A stop job for unit docker.service has finished
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A stop job for unit docker.service has finished.
░░ 
░░ The job identifier is 2169 and the job result is done.
Dec 21 11:12:15 archlinux systemd[1]: Starting Docker Application Container Engine...
░░ Subject: A start job for unit docker.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit docker.service has begun execution.
░░ 
░░ The job identifier is 2169.
Dec 21 11:12:15 archlinux dockerd[2103]: time="2022-12-21T11:12:15.779540198+08:00" level=info msg="Starting up"
Dec 21 11:12:15 archlinux dockerd[2103]: time="2022-12-21T11:12:15.780897467+08:00" level=info msg="libcontainerd: started new containerd process" pid=2113
Dec 21 11:12:15 archlinux dockerd[2103]: time="2022-12-21T11:12:15.780971290+08:00" level=info msg="parsed scheme: \"unix\"" module=grpc
Dec 21 11:12:15 archlinux dockerd[2103]: time="2022-12-21T11:12:15.780980921+08:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Dec 21 11:12:15 archlinux dockerd[2103]: time="2022-12-21T11:12:15.781072978+08:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
Dec 21 11:12:15 archlinux dockerd[2103]: time="2022-12-21T11:12:15.781124259+08:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15+08:00" level=warning msg="containerd config version `1` has been deprecated and will be removed in containerd v2.0, please switch to version `2`, see https://github.com/containerd/containerd/blob/main/docs/PLUGINS.md#version-header"
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.808665012+08:00" level=info msg="starting containerd" revision=a05d175400b1145e5e6a735a6710579d181e7fb0.m version=v1.6.12
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.820718685+08:00" level=info msg="loading plugin \"io.containerd.content.v1.content\"..." type=io.containerd.content.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.820792847+08:00" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.823646070+08:00" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.aufs\"..." error="aufs is not supported (modprobe aufs failed: exit status 1 \"modprobe: FATAL: Module aufs not found in directory /lib/modules/6.0.12-arch1-1\\n\"): skip plugin" type=io.containerd.snapshotter.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.823698447+08:00" level=info msg="loading plugin \"io.containerd.snapshotter.v1.btrfs\"..." type=io.containerd.snapshotter.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.823854192+08:00" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.btrfs\"..." error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs (ext4) must be a btrfs filesystem to be used with the btrfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.823888188+08:00" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.823903430+08:00" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.823912355+08:00" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.823933830+08:00" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824063300+08:00" level=info msg="loading plugin \"io.containerd.snapshotter.v1.zfs\"..." type=io.containerd.snapshotter.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824220011+08:00" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.zfs\"..." error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824257021+08:00" level=info msg="loading plugin \"io.containerd.metadata.v1.bolt\"..." type=io.containerd.metadata.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824275558+08:00" level=warning msg="could not use snapshotter devmapper in metadata plugin" error="devmapper not configured"
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824283516+08:00" level=info msg="metadata content store policy set" policy=shared
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824375512+08:00" level=info msg="loading plugin \"io.containerd.differ.v1.walking\"..." type=io.containerd.differ.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824393242+08:00" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824404476+08:00" level=info msg="loading plugin \"io.containerd.gc.v1.scheduler\"..." type=io.containerd.gc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824428397+08:00" level=info msg="loading plugin \"io.containerd.service.v1.introspection-service\"..." type=io.containerd.service.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824439934+08:00" level=info msg="loading plugin \"io.containerd.service.v1.containers-service\"..." type=io.containerd.service.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824449696+08:00" level=info msg="loading plugin \"io.containerd.service.v1.content-service\"..." type=io.containerd.service.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824458676+08:00" level=info msg="loading plugin \"io.containerd.service.v1.diff-service\"..." type=io.containerd.service.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824468908+08:00" level=info msg="loading plugin \"io.containerd.service.v1.images-service\"..." type=io.containerd.service.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824552333+08:00" level=info msg="loading plugin \"io.containerd.service.v1.leases-service\"..." type=io.containerd.service.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824569724+08:00" level=info msg="loading plugin \"io.containerd.service.v1.namespaces-service\"..." type=io.containerd.service.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824579875+08:00" level=info msg="loading plugin \"io.containerd.service.v1.snapshots-service\"..." type=io.containerd.service.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824610728+08:00" level=info msg="loading plugin \"io.containerd.runtime.v1.linux\"..." type=io.containerd.runtime.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824665586+08:00" level=info msg="loading plugin \"io.containerd.runtime.v2.task\"..." type=io.containerd.runtime.v2
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824727197+08:00" level=info msg="loading plugin \"io.containerd.monitor.v1.cgroups\"..." type=io.containerd.monitor.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.824962925+08:00" level=info msg="loading plugin \"io.containerd.service.v1.tasks-service\"..." type=io.containerd.service.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825014866+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.introspection\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825028987+08:00" level=info msg="loading plugin \"io.containerd.internal.v1.restart\"..." type=io.containerd.internal.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825093340+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.containers\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825107193+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.content\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825117211+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.diff\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825126932+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.events\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825136234+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.healthcheck\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825146707+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.images\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825155772+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.leases\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825164477+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.namespaces\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825175783+08:00" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825202258+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.snapshots\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825711498+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.tasks\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825921301+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.version\"..." type=io.containerd.grpc.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.825992822+08:00" level=info msg="loading plugin \"io.containerd.tracing.processor.v1.otlp\"..." type=io.containerd.tracing.processor.v1
Dec 21 11:12:15 archlinux dockerd[2113]: time="2022-12-21T11:12:15.826050805+08:00" level=info msg="skip loading plugin \"io.containerd.tracing.processor.v1.otlp\"..." error="no OpenTelemetry endpoint: skip plugin" type=io.containerd.tracing.processor.v1
Dec 21 11:12:15 archlinux dockerd[2113]: panic: invalid page type: 6: 10
Dec 21 11:12:15 archlinux dockerd[2113]: goroutine 56 [running]:
Dec 21 11:12:15 archlinux dockerd[2113]: go.etcd.io/bbolt.(*Cursor).search(0xc00046f2b0, {0x317b1dc, 0x6, 0x6}, 0xc0005161a0?)
Dec 21 11:12:15 archlinux dockerd[2113]:         go.etcd.io/bbolt@v1.3.6/cursor.go:250 +0x299
Dec 21 11:12:15 archlinux dockerd[2113]: go.etcd.io/bbolt.(*Cursor).searchPage(0xc00046f2b0, {0x317b1dc, 0x6, 0x6}, 0xc00046f208?)
Dec 21 11:12:15 archlinux dockerd[2113]:         go.etcd.io/bbolt@v1.3.6/cursor.go:308 +0x166
Dec 21 11:12:15 archlinux dockerd[2113]: go.etcd.io/bbolt.(*Cursor).search(0xc00046f2b0, {0x317b1dc, 0x6, 0x6}, 0xc00046f250?)
Dec 21 11:12:15 archlinux dockerd[2113]:         go.etcd.io/bbolt@v1.3.6/cursor.go:265 +0x1db
Dec 21 11:12:15 archlinux dockerd[2113]: go.etcd.io/bbolt.(*Cursor).seek(0xc00046f2b0, {0x317b1dc?, 0xc000160c00?, 0x0?})
Dec 21 11:12:15 archlinux dockerd[2113]:         go.etcd.io/bbolt@v1.3.6/cursor.go:159 +0x48
Dec 21 11:12:15 archlinux dockerd[2113]: go.etcd.io/bbolt.(*Bucket).Bucket(0xc000160c00, {0x317b1dc, 0x6, 0x6})
Dec 21 11:12:15 archlinux dockerd[2113]:         go.etcd.io/bbolt@v1.3.6/bucket.go:105 +0xd1
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/metadata/boltutil.readMap(0xc00046f368?, {0x317b1dc?, 0x40?, 0x0?})
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/metadata/boltutil/helpers.go:49 +0x25
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/metadata/boltutil.ReadLabels(...)
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/metadata/boltutil/helpers.go:39
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/metadata.readContainer(0xc00046f408, 0xc000160c00)
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/metadata/containers.go:314 +0x45
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/metadata.(*containerStore).List.func1.1({0x7f01b40cd080, 0x40, 0x1019a7d?}, {0xc000160980?, 0x317b820?, 0xa?})
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/metadata/containers.go:101 +0x105
Dec 21 11:12:15 archlinux dockerd[2113]: go.etcd.io/bbolt.(*Bucket).ForEach(0xc0001609c0, 0xc00046f6b8)
Dec 21 11:12:15 archlinux dockerd[2113]:         go.etcd.io/bbolt@v1.3.6/bucket.go:390 +0xa4
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/metadata.(*containerStore).List.func1(0xc000540270?)
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/metadata/containers.go:94 +0x165
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/metadata.view({0x2552c40?, 0xc000540270?}, {0x2540c10, 0xc00027e5b0}, 0xc0005402d0)
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/metadata/bolt.go:48 +0x62
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/metadata.(*containerStore).List(0xc000014120, {0x2552c40, 0xc000540270}, {0xc0000e0060, 0x1, 0x1})
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/metadata/containers.go:88 +0x1de
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/services/containers.(*local).ListStream.func1({0x2552c40?, 0xc000540270?})
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/services/containers/local.go:107 +0x6c
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/services/containers.(*local).withStore.func1(0x20?)
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/services/containers/local.go:203 +0x50
Dec 21 11:12:15 archlinux dockerd[2113]: go.etcd.io/bbolt.(*DB).View(0xc1c5a7?, 0xc00041e060)
Dec 21 11:12:15 archlinux dockerd[2113]:         go.etcd.io/bbolt@v1.3.6/db.go:772 +0x82
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/metadata.(*DB).View(...)
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/metadata/db.go:239
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/services/containers.(*local).withStoreView(0xc0002ef890, {0x2552c40?, 0xc0005401b0?}, 0x203000?)
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/services/containers/local.go:208 +0x3f
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/services/containers.(*local).ListStream(0xc0002ef890, {0x2552c40?, 0xc0005401b0}, 0xc0001608c0, {0x0?, 0xc000071b88?, 0xd0b2bb?})
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/services/containers/local.go:106 +0xe8
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd.(*remoteContainers).stream(0xc000250720, {0x2552c40, 0xc0005401b0}, {0xc0000e0060, 0x1, 0x1})
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/containerstore.go:80 +0xd9
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd.(*remoteContainers).List(0xc000071cf8?, {0x2552c40, 0xc0005401b0}, {0xc0000e0060, 0x1, 0x1})
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/containerstore.go:57 +0x3e
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd.(*Client).Containers(0xc000458000, {0x2552c40, 0xc0005401b0}, {0xc0000e0060, 0x1, 0x1})
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/client.go:258 +0x92
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/runtime/restart/monitor.(*monitor).monitor(0xc000536030, {0x2552c40, 0xc0005401b0})
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/runtime/restart/monitor/monitor.go:205 +0xfc
Dec 21 11:12:15 archlinux dockerd[2113]: github.com/containerd/containerd/runtime/restart/monitor.(*monitor).reconcile.func1()
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/runtime/restart/monitor/monitor.go:181 +0xab
Dec 21 11:12:15 archlinux dockerd[2113]: created by github.com/containerd/containerd/runtime/restart/monitor.(*monitor).reconcile
Dec 21 11:12:15 archlinux dockerd[2113]:         github.com/containerd/containerd/runtime/restart/monitor/monitor.go:178 +0x18c
Dec 21 11:12:15 archlinux dockerd[2103]: time="2022-12-21T11:12:15.830010792+08:00" level=error msg="containerd did not exit successfully" error="exit status 2" module=libcontainerd
Dec 21 11:12:16 archlinux dockerd[2103]: time="2022-12-21T11:12:16.782172488+08:00" level=warning msg="grpc: addrConn.createTransport failed to connect to {unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}. Err :connection error: desc = \"transport: error while dialing: dial unix:///var/run/docker/containerd/containerd.sock: timeout\". Reconnecting..." module=grpc
Dec 21 11:12:19 archlinux dockerd[2103]: time="2022-12-21T11:12:19.281341204+08:00" level=warning msg="grpc: addrConn.createTransport failed to connect to {unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}. Err :connection error: desc = \"transport: error while dialing: dial unix:///var/run/docker/containerd/containerd.sock: timeout\". Reconnecting..." module=grpc
Dec 21 11:12:22 archlinux dockerd[2103]: time="2022-12-21T11:12:22.927516691+08:00" level=warning msg="grpc: addrConn.createTransport failed to connect to {unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}. Err :connection error: desc = \"transport: error while dialing: dial unix:///var/run/docker/containerd/containerd.sock: timeout\". Reconnecting..." module=grpc
Dec 21 11:12:28 archlinux dockerd[2103]: time="2022-12-21T11:12:28.323776806+08:00" level=warning msg="grpc: addrConn.createTransport failed to connect to {unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}. Err :connection error: desc = \"transport: error while dialing: dial unix:///var/run/docker/containerd/containerd.sock: timeout\". Reconnecting..." module=grpc
Dec 21 11:12:30 archlinux dockerd[2103]: failed to start containerd: timeout waiting for containerd to start
Dec 21 11:12:30 archlinux systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ An ExecStart= process belonging to unit docker.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 1.
Dec 21 11:12:30 archlinux systemd[1]: docker.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit docker.service has entered the 'failed' state with result 'exit-code'.
Dec 21 11:12:30 archlinux systemd[1]: Failed to start Docker Application Container Engine.
░░ Subject: A start job for unit docker.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit docker.service has finished with a failure.
░░ 
░░ The job identifier is 2169 and the job result is failed.
Dec 21 11:12:30 archlinux systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ Automatic restarting of the unit docker.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Dec 21 11:12:30 archlinux systemd[1]: Stopped Docker Application Container Engine.
░░ Subject: A stop job for unit docker.service has finished
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A stop job for unit docker.service has finished.
░░ 
░░ The job identifier is 2269 and the job result is done.
Dec 21 11:12:30 archlinux systemd[1]: docker.service: Start request repeated too quickly.
Dec 21 11:12:30 archlinux systemd[1]: docker.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit docker.service has entered the 'failed' state with result 'exit-code'.
Dec 21 11:12:30 archlinux systemd[1]: Failed to start Docker Application Container Engine.
░░ Subject: A start job for unit docker.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit docker.service has finished with a failure.
░░ 
░░ The job identifier is 2269 and the job result is failed.

离线

页脚