podman ps --filter ancestor=
should support regular expression to match image name
#16180
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.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Usually image name is a relatively long string sometimes with tag name, exactly matching image name is somehow meaningless as a filter.
It should support regular expression to match image name.
Steps to reproduce the issue:
podman ps --filter "ancestor=docker.io/library"
norpodman ps --filter "ancestor=^docker.io/library.*"
works as expected.Describe the results you received:
The
ancestor
filter ofpodman ps --filter
cannot match image name using regular expression.Describe the results you expected:
The
ancestor
filter ofpodman ps --filter
should support regular expression to match image name.Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Package info (e.g. output of
rpm -q podman
orapt list podman
orbrew info 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
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: