You are not logged in.

#1 2022-03-15 09:30:54

alvinshih
Member
Registered: 2021-10-21
Posts: 5

Fail to start docker service

hi guys:

I had upgrade whole system using pacman -Syu, then install the docker with pacman -S docker.
When systemctl start docker.service, and i got the error message:

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.

Can anyone help me?


cat /etc/docker/daemon.json

{"storage-driver":"devicemapper"}

========== hostnamctl output
Static hostname: hfclogmon
Icon name: computer-vm
Chassis: vm ?
Machine ID: d6307e351d524650affc0eb3945308b9
Boot ID: 47578dafb9d545e3907b86fe08329714
Virtualization: microsoft
Operating System: Arch Linux
Kernel: Linux 5.16.13-arch1-1
Architecture: x86-64


========== results of dockerd
INFO[2022-03-15T17:21:01.982414209+08:00] Starting up
INFO[2022-03-15T17:21:01.983960819+08:00] libcontainerd: started new containerd process  pid=68538
INFO[2022-03-15T17:21:01.984069763+08:00] parsed scheme: "unix"                         module=grpc
INFO[2022-03-15T17:21:01.984085162+08:00] scheme "unix" not registered, fallback to default scheme  module=grpc
INFO[2022-03-15T17:21:01.984116922+08:00] ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}] <nil> <nil>}  module=grpc
INFO[2022-03-15T17:21:01.984134519+08:00] ClientConn switching balancer to "pick_first"  module=grpc
WARN[0000] deprecated version : `1`, please switch to version `2`
INFO[2022-03-15T17:21:02.012749252+08:00] starting containerd                           revision=10f428dac7cec44c864e1b830a4623af27a9fc70.m version=v1.6.1
INFO[2022-03-15T17:21:02.037232082+08:00] loading plugin "io.containerd.content.v1.content"...  type=io.containerd.content.v1
INFO[2022-03-15T17:21:02.037342653+08:00] loading plugin "io.containerd.snapshotter.v1.aufs"...  type=io.containerd.snapshotter.v1
INFO[2022-03-15T17:21:02.039951540+08:00] 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/5.16.13-arch1-1\\n\"): skip plugin" type=io.containerd.snapshotter.v1
INFO[2022-03-15T17:21:02.040077408+08:00] loading plugin "io.containerd.snapshotter.v1.btrfs"...  type=io.containerd.snapshotter.v1
INFO[2022-03-15T17:21:02.040266675+08:00] skip loading plugin "io.containerd.snapshotter.v1.btrfs"...  error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs (xfs) must be a btrfs filesystem to be used with the btrfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
INFO[2022-03-15T17:21:02.040290086+08:00] loading plugin "io.containerd.snapshotter.v1.devmapper"...  type=io.containerd.snapshotter.v1
WARN[2022-03-15T17:21:02.040310182+08:00] failed to load plugin io.containerd.snapshotter.v1.devmapper  error="devmapper not configured"
INFO[2022-03-15T17:21:02.040323762+08:00] loading plugin "io.containerd.snapshotter.v1.native"...  type=io.containerd.snapshotter.v1
INFO[2022-03-15T17:21:02.040385376+08:00] loading plugin "io.containerd.snapshotter.v1.overlayfs"...  type=io.containerd.snapshotter.v1
INFO[2022-03-15T17:21:02.040527195+08:00] loading plugin "io.containerd.snapshotter.v1.zfs"...  type=io.containerd.snapshotter.v1
INFO[2022-03-15T17:21:02.040680188+08:00] 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
INFO[2022-03-15T17:21:02.040702969+08:00] loading plugin "io.containerd.metadata.v1.bolt"...  type=io.containerd.metadata.v1
WARN[2022-03-15T17:21:02.040725298+08:00] could not use snapshotter devmapper in metadata plugin  error="devmapper not configured"
INFO[2022-03-15T17:21:02.040745135+08:00] metadata content store policy set             policy=shared
INFO[2022-03-15T17:21:02.040853710+08:00] loading plugin "io.containerd.differ.v1.walking"...  type=io.containerd.differ.v1
INFO[2022-03-15T17:21:02.040883358+08:00] loading plugin "io.containerd.event.v1.exchange"...  type=io.containerd.event.v1
INFO[2022-03-15T17:21:02.040902875+08:00] loading plugin "io.containerd.gc.v1.scheduler"...  type=io.containerd.gc.v1
INFO[2022-03-15T17:21:02.040936066+08:00] loading plugin "io.containerd.service.v1.introspection-service"...  type=io.containerd.service.v1
INFO[2022-03-15T17:21:02.040970323+08:00] loading plugin "io.containerd.service.v1.containers-service"...  type=io.containerd.service.v1
INFO[2022-03-15T17:21:02.041013194+08:00] loading plugin "io.containerd.service.v1.content-service"...  type=io.containerd.service.v1
INFO[2022-03-15T17:21:02.041031213+08:00] loading plugin "io.containerd.service.v1.diff-service"...  type=io.containerd.service.v1
INFO[2022-03-15T17:21:02.041050154+08:00] loading plugin "io.containerd.service.v1.images-service"...  type=io.containerd.service.v1
INFO[2022-03-15T17:21:02.041071749+08:00] loading plugin "io.containerd.service.v1.leases-service"...  type=io.containerd.service.v1
INFO[2022-03-15T17:21:02.041092154+08:00] loading plugin "io.containerd.service.v1.namespaces-service"...  type=io.containerd.service.v1
INFO[2022-03-15T17:21:02.041109133+08:00] loading plugin "io.containerd.service.v1.snapshots-service"...  type=io.containerd.service.v1
INFO[2022-03-15T17:21:02.041125106+08:00] loading plugin "io.containerd.runtime.v1.linux"...  type=io.containerd.runtime.v1
INFO[2022-03-15T17:21:02.041199267+08:00] loading plugin "io.containerd.runtime.v2.task"...  type=io.containerd.runtime.v2
INFO[2022-03-15T17:21:02.041251758+08:00] loading plugin "io.containerd.monitor.v1.cgroups"...  type=io.containerd.monitor.v1
INFO[2022-03-15T17:21:02.041596652+08:00] loading plugin "io.containerd.service.v1.tasks-service"...  type=io.containerd.service.v1
INFO[2022-03-15T17:21:02.041633715+08:00] loading plugin "io.containerd.grpc.v1.introspection"...  type=io.containerd.grpc.v1
INFO[2022-03-15T17:21:02.041654015+08:00] loading plugin "io.containerd.internal.v1.restart"...  type=io.containerd.internal.v1
INFO[2022-03-15T17:21:02.041727067+08:00] loading plugin "io.containerd.grpc.v1.containers"...  type=io.containerd.grpc.v1
INFO[2022-03-15T17:21:02.041746149+08:00] loading plugin "io.containerd.grpc.v1.content"...  type=io.containerd.grpc.v1
INFO[2022-03-15T17:21:02.041763234+08:00] loading plugin "io.containerd.grpc.v1.diff"...  type=io.containerd.grpc.v1
INFO[2022-03-15T17:21:02.041777787+08:00] loading plugin "io.containerd.grpc.v1.events"...  type=io.containerd.grpc.v1
INFO[2022-03-15T17:21:02.041793867+08:00] loading plugin "io.containerd.grpc.v1.healthcheck"...  type=io.containerd.grpc.v1
INFO[2022-03-15T17:21:02.041810379+08:00] loading plugin "io.containerd.grpc.v1.images"...  type=io.containerd.grpc.v1
INFO[2022-03-15T17:21:02.041825144+08:00] loading plugin "io.containerd.grpc.v1.leases"...  type=io.containerd.grpc.v1
INFO[2022-03-15T17:21:02.041840802+08:00] loading plugin "io.containerd.grpc.v1.namespaces"...  type=io.containerd.grpc.v1
INFO[2022-03-15T17:21:02.041858235+08:00] loading plugin "io.containerd.internal.v1.opt"...  type=io.containerd.internal.v1
INFO[2022-03-15T17:21:02.041901862+08:00] loading plugin "io.containerd.grpc.v1.snapshots"...  type=io.containerd.grpc.v1
INFO[2022-03-15T17:21:02.041929468+08:00] loading plugin "io.containerd.grpc.v1.tasks"...  type=io.containerd.grpc.v1
INFO[2022-03-15T17:21:02.041977069+08:00] loading plugin "io.containerd.grpc.v1.version"...  type=io.containerd.grpc.v1
INFO[2022-03-15T17:21:02.042010993+08:00] loading plugin "io.containerd.tracing.processor.v1.otlp"...  type=io.containerd.tracing.processor.v1
INFO[2022-03-15T17:21:02.042030260+08:00] skip loading plugin "io.containerd.tracing.processor.v1.otlp"...  error="no OpenTelemetry endpoint: skip plugin" type=io.containerd.tracing.processor.v1
INFO[2022-03-15T17:21:02.042044349+08:00] loading plugin "io.containerd.internal.v1.tracing"...  type=io.containerd.internal.v1
ERRO[2022-03-15T17:21:02.042067852+08:00] failed to initialize a tracing processor "otlp"  error="no OpenTelemetry endpoint: skip plugin"
INFO[2022-03-15T17:21:02.042391214+08:00] serving...                                    address=/var/run/docker/containerd/containerd-debug.sock
INFO[2022-03-15T17:21:02.042444723+08:00] serving...                                    address=/var/run/docker/containerd/containerd.sock.ttrpc
INFO[2022-03-15T17:21:02.042488706+08:00] serving...                                    address=/var/run/docker/containerd/containerd.sock
INFO[2022-03-15T17:21:02.042507669+08:00] containerd successfully booted in 0.030636s
INFO[2022-03-15T17:21:02.051051773+08:00] parsed scheme: "unix"                         module=grpc
INFO[2022-03-15T17:21:02.051180353+08:00] scheme "unix" not registered, fallback to default scheme  module=grpc
INFO[2022-03-15T17:21:02.051241839+08:00] ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}] <nil> <nil>}  module=grpc
INFO[2022-03-15T17:21:02.051293590+08:00] ClientConn switching balancer to "pick_first"  module=grpc
INFO[2022-03-15T17:21:02.052544642+08:00] parsed scheme: "unix"                         module=grpc
INFO[2022-03-15T17:21:02.052568515+08:00] scheme "unix" not registered, fallback to default scheme  module=grpc
INFO[2022-03-15T17:21:02.052585635+08:00] ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}] <nil> <nil>}  module=grpc
INFO[2022-03-15T17:21:02.052611607+08:00] ClientConn switching balancer to "pick_first"  module=grpc
WARN[2022-03-15T17:21:02.053423924+08:00] [graphdriver] WARNING: the devicemapper storage-driver is deprecated, and will be removed in a future release
INFO[2022-03-15T17:21:02.187041136+08:00] stopping healthcheck following graceful shutdown  module=libcontainerd
INFO[2022-03-15T17:21:02.187062864+08:00] stopping event stream following graceful shutdown  error="context canceled" module=libcontainerd namespace=plugins.moby
failed to start daemon: error initializing graphdriver: devicemapper: Error running deviceCreate (CreatePool) dm_task_run failed

Last edited by alvinshih (2022-03-16 04:04:56)

Offline

#2 2022-03-15 09:44:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,302

Re: Fail to start docker service

Please wrap outputs in code and not quote tags and make that every output rather than a select few "quotes".

Why are you trying to use devicemapper? More generally if you did indeed -Syu before making this post the current kernel should be 5.16.14 which would mandate you reboot before you can load new modules.

Last edited by V1del (2022-03-15 09:45:41)

Offline

#3 2022-03-16 04:04:12

alvinshih
Member
Registered: 2021-10-21
Posts: 5

Re: Fail to start docker service

V1del wrote:

Please wrap outputs in code and not quote tags and make that every output rather than a select few "quotes".

Why are you trying to use devicemapper? More generally if you did indeed -Syu before making this post the current kernel should be 5.16.14 which would mandate you reboot before you can load new modules.

Thanks for your suggestion, i will correct it.

Offline

Board footer

Powered by FluxBB