We get the error (Error response from daemon: OCI runtime create failed: this version of runc doesn't work on cgroups v2: unknown. ERRO error waiting for container: context canceled) when trying to run an image:
We get this error with Fedora because of its implementation of the cgroups version 2 , which is not supported by docker.
Control groups is a way to share resources (CPU, memory, disk space,...) between processes.
Grub is a Linux bootloader.
We use the grubby program to make some changes to the grub.cfg file and to pass arguments to the kernel at boot time to change the behavior of the kernel.
In our case we need to disable the use of the cgroups version 2 using the below command: