Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-24791

Wrong Docker virtual repository resolution order

    XMLWordPrintable

    Details

    • Severity:
      Medium
    • Regression:
      Yes

      Description

      Docker virtual repository pull not obeying resolution order.

      For example, Docker virtual repository that contains two local repositories with the same image name and tag is not obeying resolution order, and pulls the image from the second repository configured in the resolution list. 

      What is the expected behavior? Obey the order of resolution as configured in “Selected Repositories” on virtual repository.

      Steps to reproduce: 

      1. Create two local Docker repositories, A and B.
      2. Create a virtual Docker repository that aggregates the two local repositories, configure repository A as the first in the “Selected Repositories”.
      3. Push different images to local repositories A and B with the same name and tag.
      4. Pull The image from the virtual repository - it will pull the image from Repo B instead of 

      Possible workaround: Reverse the selected repositories order configured for resolution in “Selected Repositories”.

        Attachments

          Issue Links

            Activity

                People

                Assignee:
                tomern Tomer Nir
                Reporter:
                andreyg Andrey Granovsky
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: