Replies: 3 comments 3 replies
|
Most likely cgroups is not setup correctly |
0 replies
|
we do not support cgroupfs with rootless, unless it is manually configured and chowned to the rootless user. |
0 replies
|
It would be nice to have a Could you give me an example of how to enable cgroupfs with rootless? I don't see any related options in |
3 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.
Issue Description
Rootless podman on on gentoo cannot set cgroupv2 limits via cgroupfs.
Everything works fine when podman containers are started by root.
Steps to reproduce the issue
Steps to reproduce the issue
--memory=or--cpuset-cpus=podman inspectto check if podman accepted settingsls /sys/fs/cgroup/libpod_parentto check if podman created a directory for containerDescribe the results you received
Container directories are not created in /sys/fs/cgroup/libpod_parent
Configured limits are visible in
podman inspectbut have no effectDescribe the results you expected
Rootless podman should set cgroup limits with cgroupfs driver or at least issue warning to the users that it's not supported.
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
My podman is running on bare metal on a gentoo system without systemd.
Additional information
No response
All reactions