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

Docker client <= 1.9.1 cannot pull images which are push by a docker client >= 1.10.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.2
    • Component/s: Docker
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      Sprint 72, Sprint 73, Sprint 74, Sprint 75

      Description

      An image has been pushed to Nexus 3.0 by a Docker client which version was 1.10.0 or later. Now I cannot pull this image with a Docker client which version is <= 1.9.1.
      I get following error:

      docker pull dockerregistry.internal.com/appyard
      Using default tag: latest
      Trying to pull repository dockerregistry.internal.com/appyard ... not found
      Error: image appyard:latest not found
      

      I can successfully pull images which has been pushed with an 1.9.1 Docker client.

      I tried without success the following:

      • to disable V1 support for the group repository
      • configure nginx to apply headers to all GET requests in order to enforce V1 or V2 manifests:
        add_header Docker-Distribution-Api-Version registry/2.0 always;
        add_header Accept application/vnd.docker.distribution.manifest.v2+json;
        proxy_set_header Accept application/vnd.docker.distribution.manifest.v2+json;

      With version 1.10.0 of Docker the format of the manifest has changed. I'm using an Nginx configuration as described in chapter Example: Reverse Proxy SSL Termination at Base Path.

        Attachments

          Activity

            People

            • Assignee:
              dbradicich Damian Bradicich
              Reporter:
              Bernhard Berbuir Bernhard Berbuir
              Last Updated By:
              Peter Lynch
            • Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: