Docker Community Forums

Share and learn in the Docker community.

Not able to start docker daemon on Fedora after installing moby-engine

I have installed moby-engine as per directions on https://fedoramagazine.org/docker-and-fedora-32/.
This includes enabling old cgroup and whitelisting docker in firewall. Here is me trying to start the daemon.

$ sudo systemctl start docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.

Here is the last few lines from the journal:

Jul 04 04:37:36 dockerd[20449]: time="2020-07-04T04:37:36.405701082+05:30" level=info msg="Starting up"
Jul 04 04:37:36 dockerd[20449]: time="2020-07-04T04:37:36.406824622+05:30" level=info msg="libcontainerd: started new containerd process" pid=20459
Jul 04 04:37:36 dockerd[20449]: time="2020-07-04T04:37:36.406858342+05:30" level=info msg="parsed scheme: \"unix\"" module=grpc
Jul 04 04:37:36 dockerd[20449]: time="2020-07-04T04:37:36.406868118+05:30" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Jul 04 04:37:36 dockerd[20449]: time="2020-07-04T04:37:36.406889581+05:30" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0  <nil>}] <nil>}" module
=grpc
Jul 04 04:37:36 dockerd[20449]: time="2020-07-04T04:37:36.406908957+05:30" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.438856903+05:30" level=info msg="starting containerd" revision=7ad184331fa3e55e52b890ea95e65ba581ae3429 version=1.2.13
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.439558715+05:30" level=info msg="loading plugin "io.containerd.content.v1.content"..." type=io.containerd.content.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.439598172+05:30" level=info msg="loading plugin "io.containerd.snapshotter.v1.btrfs"..." type=io.containerd.snapshotter.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.439887683+05:30" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.btrfs" error="path /var/lib/docker/containerd/daemon/io.container
d.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter"
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.439912708+05:30" level=info msg="loading plugin "io.containerd.snapshotter.v1.aufs"..." type=io.containerd.snapshotter.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.442454772+05:30" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.aufs" error="modprobe aufs failed: "modprobe: FATAL: Module aufs
not found in directory /lib/modules/5.6.19-300.fc32.x86_64\n": exit status 1"
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.442492854+05:30" level=info msg="loading plugin "io.containerd.snapshotter.v1.native"..." type=io.containerd.snapshotter.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.442537990+05:30" level=info msg="loading plugin "io.containerd.snapshotter.v1.overlayfs"..." type=io.containerd.snapshotter.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.442641255+05:30" level=info msg="loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.442935173+05:30" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.442955557+05:30" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." type=io.containerd.metadata.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.443012707+05:30" level=warning msg="could not use snapshotter btrfs in metadata plugin" error="path /var/lib/docker/containerd/daemon/io.containerd.snap
shotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter"
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.443026967+05:30" level=warning msg="could not use snapshotter aufs in metadata plugin" error="modprobe aufs failed: "modprobe: FATAL: Module aufs not fo
und in directory /lib/modules/5.6.19-300.fc32.x86_64\n": exit status 1"
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.443044724+05:30" level=warning msg="could not use snapshotter zfs in metadata plugin" error="path /var/lib/docker/containerd/daemon/io.containerd.snapsh
otter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin"
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.443179104+05:30" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." type=io.containerd.differ.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.443209008+05:30" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." type=io.containerd.gc.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.443261861+05:30" level=info msg="loading plugin "io.containerd.service.v1.containers-service"..." type=io.containerd.service.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.443285123+05:30" level=info msg="loading plugin "io.containerd.service.v1.content-service"..." type=io.containerd.service.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.443306690+05:30" level=info msg="loading plugin "io.containerd.service.v1.diff-service"..." type=io.containerd.service.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.443329425+05:30" level=info msg="loading plugin "io.containerd.service.v1.images-service"..." type=io.containerd.service.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.443352867+05:30" level=info msg="loading plugin "io.containerd.service.v1.leases-service"..." type=io.containerd.service.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.443379713+05:30" level=info msg="loading plugin "io.containerd.service.v1.namespaces-service"..." type=io.containerd.service.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.443412165+05:30" level=info msg="loading plugin "io.containerd.service.v1.snapshots-service"..." type=io.containerd.service.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.443435516+05:30" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." type=io.containerd.runtime.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.443560634+05:30" level=info msg="loading plugin "io.containerd.runtime.v2.task"..." type=io.containerd.runtime.v2
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.443621701+05:30" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." type=io.containerd.monitor.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.444275732+05:30" level=info msg="loading plugin "io.containerd.service.v1.tasks-service"..." type=io.containerd.service.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.444313740+05:30" level=info msg="loading plugin "io.containerd.internal.v1.restart"..." type=io.containerd.internal.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.444366990+05:30" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." type=io.containerd.grpc.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.444389227+05:30" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." type=io.containerd.grpc.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.444409989+05:30" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." type=io.containerd.grpc.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.444430478+05:30" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." type=io.containerd.grpc.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.444449952+05:30" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." type=io.containerd.grpc.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.444471656+05:30" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." type=io.containerd.grpc.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.444492380+05:30" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." type=io.containerd.grpc.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.444515847+05:30" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." type=io.containerd.grpc.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.444536650+05:30" level=info msg="loading plugin "io.containerd.internal.v1.opt"..." type=io.containerd.internal.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.444582331+05:30" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." type=io.containerd.grpc.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.444605869+05:30" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." type=io.containerd.grpc.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.444627010+05:30" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." type=io.containerd.grpc.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.444647267+05:30" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." type=io.containerd.grpc.v1
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.444954381+05:30" level=info msg=serving... address="/var/run/docker/containerd/containerd-debug.sock"
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.445073377+05:30" level=info msg=serving... address="/var/run/docker/containerd/containerd.sock"
Jul 04 04:37:36 dockerd[20459]: time="2020-07-04T04:37:36.445096617+05:30" level=info msg="containerd successfully booted in 0.007256s"
Jul 04 04:37:36 dockerd[20449]: time="2020-07-04T04:37:36.454152262+05:30" level=info msg="parsed scheme: \"unix\"" module=grpc
Jul 04 04:37:36 dockerd[20449]: time="2020-07-04T04:37:36.454224301+05:30" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Jul 04 04:37:36 dockerd[20449]: time="2020-07-04T04:37:36.454271024+05:30" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0  <nil>}] <nil>}" module
=grpc
Jul 04 04:37:36 dockerd[20449]: time="2020-07-04T04:37:36.454301814+05:30" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Jul 04 04:37:36 dockerd[20449]: time="2020-07-04T04:37:36.455116875+05:30" level=info msg="parsed scheme: \"unix\"" module=grpc
Jul 04 04:37:36 dockerd[20449]: time="2020-07-04T04:37:36.455147955+05:30" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Jul 04 04:37:36 dockerd[20449]: time="2020-07-04T04:37:36.455169472+05:30" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0  <nil>}] <nil>}" module
=grpc
Jul 04 04:37:36 dockerd[20449]: time="2020-07-04T04:37:36.455187637+05:30" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Jul 04 04:37:37 dockerd[20449]: time="2020-07-04T04:37:37.110250252+05:30" level=warning msg="Your kernel does not support cgroup rt period"
Jul 04 04:37:37 dockerd[20449]: time="2020-07-04T04:37:37.110296655+05:30" level=warning msg="Your kernel does not support cgroup rt runtime"
Jul 04 04:37:37 dockerd[20449]: time="2020-07-04T04:37:37.110314140+05:30" level=warning msg="Your kernel does not support cgroup blkio weight"
Jul 04 04:37:37 dockerd[20449]: time="2020-07-04T04:37:37.110330809+05:30" level=warning msg="Your kernel does not support cgroup blkio weight_device"
Jul 04 04:37:37 dockerd[20449]: time="2020-07-04T04:37:37.110657072+05:30" level=info msg="Loading containers: start."
Jul 04 04:37:38 dockerd[20449]: time="2020-07-04T04:37:38.492118868+05:30" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferr
ed IP address"
Jul 04 04:37:38 dockerd[20449]: time="2020-07-04T04:37:38.823079745+05:30" level=info msg="Loading containers: done."
Jul 04 04:37:39 dockerd[20449]: time="2020-07-04T04:37:39.420830448+05:30" level=info msg="Docker daemon" commit=42e35e6 graphdriver(s)=overlay2 version=19.03.11
Jul 04 04:37:39 dockerd[20449]: time="2020-07-04T04:37:39.421067175+05:30" level=fatal msg="Error starting cluster component: --live-restore daemon configuration is incompatible with swarm mode"
Jul 04 04:37:39 systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Jul 04 04:37:39 systemd[1]: docker.service: Failed with result 'exit-code'.
Jul 04 04:37:39 systemd[1]: Failed to start Docker Application Container Engine.
Jul 04 04:37:39 systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Jul 04 04:37:39 systemd[1]: Stopped Docker Application Container Engine.
Jul 04 04:37:39 systemd[1]: docker.service: Start request repeated too quickly.
Jul 04 04:37:39 systemd[1]: docker.service: Failed with result 'exit-code'.
Jul 04 04:37:39 systemd[1]: Failed to start Docker Application Container Engine.

The fatal message says:

"Error starting cluster component: --live-restore daemon configuration is incompatible with swarm mode"

Please let me know if more information is needed.