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

OCI - Docker repos should respect accept headers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.23.0
    • Fix Version/s: 3.25.0
    • Component/s: Docker
    • Labels:
      None

      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

          Activity

            People

            Assignee:
            mjohnson Matt Johnson
            Reporter:
            mjohnson Matt Johnson
            Last Updated By:
            Ophelia Hernandez
            Team:
            NXRM - Developer Persona Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title