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

HEAD request to /v2/<name>/manifests/<reference> results in 404 error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.15.0
    • Component/s: Docker
    • Labels:

      Description

      When you specify a HEAD request to /v2/<name>/manifests/<reference> for an existing docker image in a Nexus docker repository, a 404 error will occur.

      For example, I have tried to send a HEAD request to something like http://host:8081/respository/dockerRepo/v2/test/alpine/manifests/latest and I get back a 404.

      However, if I try a GET request to http://host:8081/respository/dockerRepo/v2/test/alpine/manifests/latest, I get back a response with the details that I am looking for.

      In contrast, in a Docker registry, a HEAD request to http://host:8081/v2/test/alpine/manifests/latest works properly.

      For more details about the API call, you can go to "https://docs.docker.com/registry/spec/api/#pulling-an-image" and look for "Existing Manifests"

      The HEAD request should be supported in Nexus docker repositories and not be a 404 error.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jbryan Jeremy Bryan
              Reporter:
              test_user1 Law
              Last Updated By:
              Peter Lynch
              Team:
              NXRM - Cypher
              Votes:
              7 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title