Docker error on Fedora 31

“docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused “process_linux.go:297: applying cgroup configuration for process caused \”open /sys/fs/cgroup/docker/cpuset.cpus.effective: no such file or directory\””: unknown.”

To resolve it use:

grubby --args="systemd.unified_cgroup_hierarchy=0" --update-kernel /boot/vmlinuz-5.3.11-300.fc31.x86_64

Documentation:
1. Fedora – Changes/CGroupsV2
2. RedHat – Making Persistent Changes to a GRUB 2 Menu Using the grubby Tool

Leave a Reply

Your email address will not be published. Required fields are marked *