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

Docker API v2: PUT MANIFEST treated as GET MANIFEST

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.30.0
    • Fix Version/s: None
    • Component/s: Docker
    • Labels:

      Description

      Version 3.30.0-01
      Edition OSS
      Build Revision d13afa6e08048d2d93682fe62398b0b7b5f13652
      Build Timestamp 2021-03-03-0055-34190

      https://docs.docker.com/registry/spec/api/#put-manifest

      The only valid errors specified by the docker api v2 specification for a PUT manifest request are:

      • NAME_INVALID
      • TAG_INVALID
      • MANIFEST_INVALID
      • MANIFEST_UNVERIFIED
      • BLOB_UNKNOWN

      My request to put a valid manifest at a new tag for a existing repository (PUT /v2/existingrepo/manifests/newtag) is receiving a 404 response with MANIFEST_UNKNOWN. This is the expected response for a GET request. The PUT request should be adding the manifest, not attempting to retrieve one.

      A PUT request for an existing manifest simply responds the existing manifest json, as expected for a GET request.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dn Drew
            Last Updated By:
            Joe Tom Joe Tom
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title