Uploaded image for project: 'Container Tools'
  1. Container Tools
  2. RUN-2002

Podman Images Filter Parsing

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal 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.

       

      1. The filter parsing does an OR logic instead of AND. Fix to do an AND logic to match what docker does.
      2. 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".

              umohnani Urvashi Mohnani
              umohnani Urvashi Mohnani
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: