#Docker doesn't create containers : OCI runtime create failed
5 messages · Page 1 of 1 (latest)
(can be deleted, was an issue from my side)
i am having the same problem, can you tell me how you solved it?
the problem:
ERROR: [Aug 27 00:41:55.497] failed to run install process for server error=Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting cgroup config for procHooks process: openat2 /sys/fs/cgroup/system.slice/docker-104916cbf294c9d1cd25475e941750ea631b356c7612161a5c44c98671a4644b.scope/io.weight: no such file or directory: unknown server=3511a3f1-e5b3-46c3-8b10-6682fbc900f2
Stacktrace:
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting cgroup config for procHooks process: openat2 /sys/fs/cgroup/system.slice/docker-104916cbf294c9d1cd25475e941750ea631b356c7612161a5c44c98671a4644b.scope/io.weight: no such file or directory: unknown
Hey @worldly kernel! Looks like you are missing mounts for cgroup V2. Enable the controllers for your system or downgrade to cgroup V1.
Downgrading can be done by adding systemd.unified_cgroup_hierarchy=0to your grub cmdline at /etc/default/grub. After that, run sudo update-grub followed by sudo reboot to restart the machine.