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

Cannot download foreign layer as anonymous user

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 6.4.0
    • Fix Version/s: None
    • Component/s: Docker
    • Labels:
      None

      Description

      Flow:

      1. Allow anonymous deploy artifacts (Admin -> Security Configuration)
      2. Provide Read and Deploy permissions for anonymous user (but not Annotate)
      3. Try to pull image without logging in.
      Example from Windows client:
      docker pull 192.168.56.1:32838/docker2-remote/microsoft/nanoserver:10.0.14393.953
      

      As a result, Artifactory will create marker (placeholder) files, but it won't be able to put the URL property on them, and therefore will not be able to download real layer in their stead. Possible solution is to add these annotations as system user.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                alexd Alex Dvorkin
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: