Open chisaato opened 2 months ago
Tagging as 6.0 as this could be considered a breaking change to folks that rely on the current format of podman inspect
. Still something we want to fix but will have to wait for our next breaking change release.
Well for podman inspect yes, but the first line talk about the docker API and links to watchtower which uses the docker API AFAIK so we can and should certainly fix it there to match docker
@inknos mind making the docker api side changes?
When is 6.0 coming out? Is there a release cycle?
There are no specific plans for a 6.0 at this time.
Issue Description
here is a difference in podman docker emulation api.
In the crun config, swappiness is unset, which means this value can be return to null in
podman inspect
.Also, on system with cgoupv2 changing swappiness does not make any sense, so it should be unset and give a null.
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
podman inspect gives MemorySwappiness to 0 instead of
null
.Describe the results you expected
this value should be null like docker inspect
podman info output
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
Yes
Additional environment details
No response
Additional information
after checking difference between
docker inspect
andpodman inspect
I found there is more fields that docker gives null but podman gives empty value (0,empty array,etc.)