Replies: 1 comment 3 replies
-
Memory limits as a non-root user only work with cgroups v2. I'm actually surprised the container is starting, and not throwing an error because of the unsupported flag. |
Beta Was this translation helpful? Give feedback.
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.
-
Hello, I am struggling with Podman and I am not sure if it is a bug or I just read the documentation wrong.
I would like to run a rootless container with a memory limit on a system with cgroups v1; i.e. something like this:
Podman does not show any errors. When I run the same example with cgroups v2, it works. Is the memory limit supposed to work on cgroups v1? If not, why doesn't Podman fail with an error message? I did not find anything about memory limitation not working on cgroups v1 in the documentation.
Beta Was this translation helpful? Give feedback.
All reactions