Replies: 3 comments
-
Most likely cgroups is not setup correctly |
Beta Was this translation helpful? Give feedback.
-
we do not support cgroupfs with rootless, unless it is manually configured and chowned to the rootless user. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
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 inspect
to check if podman accepted settingsls /sys/fs/cgroup/libpod_parent
to 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 inspect
but 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
Beta Was this translation helpful? Give feedback.
All reactions