Documentation for a newer release is available. View Latest

Container

Docker package no longer available and will not run by default

The Docker package has been removed from Fedora 31. It has been replaced by the upstream package moby-engine, which includes the Docker CLI as well as the Docker Engine. However, we recommend instead that you use podman, which is a Cgroups v2-compatible container engine whose CLI is compatible with Docker’s.

Fedora 31 uses Cgroups v2 by default as described in the Kernel section. The moby-engine package does not support Cgroups v2 yet, so if you need to run the moby-engine or run the Docker CE package, then you need to switch the system to using Cgroups v1, by passing the kernel parameter systemd.unified_cgroup_hierarchy=0. To do this permanently, run the following command:

grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"