Fedora has switched to cgroups v2 by default now, but Docker doesn’t yet support it and so fails to start. If you want to use Docker then you need to revert cgroups to v1 by adding the systemd.unified_cgroup_hierarchy=0 kernel argument.
Add systemd.unified_cgroup_hierarchy=0 to the default GRUB config with sed.
Bash
sudo sed -i '/^GRUB_CMDLINE_LINUX/ s/"$/ systemd.unified_cgroup_hierarchy=0"/' /etc/default/grubNow rebuild your GRUB config.
If you’re using BIOS boot then it’s this.
Bash
sudo grub2-mkconfig -o /boot/grub2/grub.cfgIf you’re running EFI, then it’s this.
Bash
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfgNow reboot and make sure Docker can start!


