question about podman cgroup init process #16564
Unanswered
calvin2021y
asked this question in
Q&A
Replies: 2 comments
-
after use runc replace crun inside container, and other adjust the problem is fixed. not sure why crun not work. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I try to start a rootless podman container by direct start by crun.
When I use podman inside podman (non-root user) with privileged option, I can move pid 1 into a new create cgroup.
when I try start a container by crun with config.json, and from a cgroup like this:
I am not sure why my crun container
/sys/fs/cgroup/cgroup.procs
has a pid 0, how can I avoid this by adust crun argument orconfig.json
?podman need move pid 1 into init to start work in rootless mode,
echo: write error: Not supported
error block this step.Beta Was this translation helpful? Give feedback.
All reactions