Hi!
I put it hare to help to who need it.
- Install podman and crun from repos
- Install distrobox
At that point I had distrobox failed to work and those errors:
Error: unable to start container "...": runc: runc create failed: unable to start container process: unable to apply cgroup configuration: rootless needs no limits + no cgrouppath when no permission is granted for cgroups: mkdir /sys/fs/cgroup/...: permission denied: OCI permission denied
At the end, what worked for mi was setting /etc/containers/containers.conf to
[engine]
cgroup_manager = "cgroupfs"
runtime = "crun"
[containers]
cgroups = "enabled"
pidns = "private"
userns = "private"
netns = "private"
ipcns = "private"
utsns = "private"
I don't know if it work witk runc, and others settings.
Lastly, consider to create containers with --init .
If not, they won't stop.
Hi!
I put it hare to help to who need it.
At that point I had distrobox failed to work and those errors:
At the end, what worked for mi was setting /etc/containers/containers.conf to
I don't know if it work witk runc, and others settings.
Lastly, consider to create containers with --init .
If not, they won't stop.