After a while running my containers just fine it seems like I can’t restart a container anymore. After removing a bunch I can add again. So looks like some kind of cgroup limit.
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:
unable to apply cgroup configuration: mkdir /sys/fs/cgroup/docker/
431b39d05bc18f644bf4d61dab0d12997e1a45d2a209e9edd0604edb0b6047a2:
device or resource busy
But I also noticed you are using containerd v2.0.5 whle containerd is still v1.7.x when installed from the official repositories. I have no idea if it has anything to do with containerd, but Gentoo is not officially supported by Docker so I assume Gentoo has its own Docker package.
Regrdless of the OS, unfortunately I don’t know how creating /sys/fs/cgroup/docker can be lead to that error message. The folder doesn’t exist on my machine (Ubuntu Noble) using CgroupV2.