diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2022-06-21 12:06:24 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2022-06-21 12:06:33 +0200 |
commit | 1f539a26417bf5e76604361c1ea2841941809359 (patch) | |
tree | 58eb3ccdc4d4b87bd6f97a654eb521e336a38140 /libpod | |
parent | fe8e536328eef61f0cf7ffd42b74d4e5be4654ee (diff) | |
download | podman-1f539a26417bf5e76604361c1ea2841941809359.tar.gz podman-1f539a26417bf5e76604361c1ea2841941809359.tar.bz2 podman-1f539a26417bf5e76604361c1ea2841941809359.zip |
api: show the memory limit specified for the container
use the memory limit specified for the container instead of reading it
from the cgroup. It is not reliable to read it from the cgroup since
the container could have been moved to a different cgroup and in
general the OCI runtime might create a sub-cgroup (like crun does).
Closes: https://github.com/containers/podman/issues/14676
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'libpod')
0 files changed, 0 insertions, 0 deletions