Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-9542

anonymous pull from hosted docker repository fails with not found

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Docker
    • Labels:
      None

      Description

      With anonymous user active, trying to pull from hosted docker repository fails with "not found" as an anonymous user. Works fine if login as a user to docker.

      sudo docker pull localhost:18443/docker-whale
      Using default tag: latest
      Pulling repository localhost:18443/docker-whale
      Error: image docker-whale:latest not found
      
      10.211.55.3 - - [16/Dec/2015:16:45:44 +0000] "GET /repository/docker-internal/v2/ HTTP/1.1" 401 113 1
      10.211.55.3 - - [16/Dec/2015:16:45:44 +0000] "GET /repository/docker-internal/v2/ HTTP/1.1" 401 113 1
      10.211.55.3 - - [16/Dec/2015:16:45:44 +0000] "GET /repository/docker-internal/v1/repositories/docker-whale/images HTTP/1.1" 404 16 3
      

      Even if you add the hosted docker to a group and use the group docker repo, it still fails to pull as anonymous for artifactsthat originate from hosted docker repo, but works if logged in with user credentials.

      Anonymous pull works fine with proxy repo or group repo (where the artifact comes from a proxy).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              msurani Mahendra Surani
              Last Updated By:
              Peter Lynch
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title