memory Limit is returning invalid result for /container/stats
REST API on macOS
#15765
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
podman-desktop
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
The field
memory_stats.limit
is returning an invalid valueSteps to reproduce the issue:
$ MY_DUMMY_CONTAINER=$(podman run -d fedora sleep 20000)
Describe the results you received:
it seems this value is like the maximum value of the int/long/etc
Describe the results you expected:
something displaying around 2GB / 2Gi because it's the size of the machine.
and based from
https://docs.docker.com/engine/api/v1.41/#tag/Container/operation/ContainerStats
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes/No
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: