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

A remote Docker repository can fail to retrieve artifacts when anonymous access is disabled on the source repository

    XMLWordPrintable

    Details

      Description

      A remote Docker repository fails to retrieve artifacts when anonymous access is disabled on the source repository.

      This happens only when no permission targets grants anonymous access to the source repository. If the global Allow anonymous access feature is unchecked, the retrieval will work.

      To reproduce:

      1. Create a local docker repository and upload an image to it
      2. Remove any permission target that grants read access to anonymous to the local repository (but don't uncheck the global Allow anonymous access setting)
      3. On a different Artifactory instance, create a remote repository and reference the local repository. Set the credentials under Advanced of a user that has the required permissions to pull.
      4. Attempt a pull from the remote repository and notice the failure.

      At best, this is a documentation issue as it is very unclear what the settings should be to properly remote another Artifactory instance.

      Workaround:

      Uncheck the "Enable Token Authentication" option.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            arturoa Arturo Aparicio
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: