Image list sorted by repository is not always deterministic #23803
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.
Issue Description
In certain conditions,
podman image list --sort=repository
produces different results. See the steps to reproduce.I think, it's based on the time the images were last touched on the disk.
It would be nice if sort could be tuned by a second field - also fixing this issue. [sort=repository,tag]
Steps to reproduce the issue
Describe the results you received
The two tags of the same image are flipped after every pull.
Describe the results you expected
Sorting should always be deterministic.
podman info output
REDACTED /
podman-5.2.2-1.fc40.x86_64
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: