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

OCI - Docker repos should respect accept headers

    XMLWordPrintable

    Details

      Description

      Currently the content type for docker manifests is hard coded to the docker specific content type. If a manifest is pushed with an OCI content type we should store it with the OCI content type.

      Additionally, we should use the accept headers to do a best match for pulling the manifest. If a client pulls and only accepts OCI formats we should attempt to return OCI content type if applicable. This may require converting the content type header if the image was pushed with docker. The goal is to make the header negotiation frictionless with clients such as buildah, helm and docker.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mjohnson Matt Johnson
              Reporter:
              mjohnson Matt Johnson
              Last Updated By:
              Michael Prescott Michael Prescott
              Team:
              NXRM - Trinity
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title