-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
3
-
False
-
None
-
False
-
rhel-sst-container-tools
-
-
-
RUN 248, RUN 249, RUN 250
The podman images filter parsing is broken. The issue started from https://github.com/containers/podman/issues/18412 but upon debugging, 2 more issues were found with it.
- The filter parsing does an OR logic instead of AND. Fix to do an AND logic to match what docker does.
- For the --remote endpoint, when multiple filters were passed in, only the last filter in the list was being used to determine which images to output. This needs to be fixed to use all the filters passed in by the user
Finally, the problem from the issue above was not parsing the filters correctly in the format "filter=filter-value". If more than one filter is passed in for the same filter key it does "filter=filter-value1=filter-value2...". This needs to be fixed to be in the form "filer=filter-value1, filter=filter-value2".