Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-10564

Docker remote proxy cannot pull certain images from DockerHub

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 4.7.5, 4.8.0, 4.8.1
    • Fix Version/s: 4.8.2
    • Component/s: Docker, Remote Repository
    • Labels:
      None

      Description

      Docker remote proxy cannot pull certain images from DockerHub. One of these images is Java. Older versions of Artifactory are able to pull this without issue.

      To reproduce:
      1. Pull the latest artifactory registry (docker pull jfrog-docker-reg2.bintray.io/jfrog/artifactory-registry:latest)
      2. Run the image and attempt to pull busybox from the remote proxy to verify it is working
      3. Attempt to pull java, notice the failure.

      Artifactory will download the manifest and certain files but fail without an obvious error in the logs. Comparing the manifest from the non-working registry (4.8.1) to that of the working registry (4.2.1), we can see some transformation took place:

      4.8.1:

      {
         "schemaVersion": 2,
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "config": {
            "mediaType": "application/octet-stream",
            "size": 4726,
            "digest": "sha256:264282a59a957ac68c14d9c7b8a37db5097c019f52e6580ead683a91e6ab064b"
        ...
      
         "schemaVersion": 1,
         "name": "library/java",
         "tag": "latest",
         "architecture": "amd64",
         "fsLayers": [
      ...
      

      This transformation may be related to the failure.

        Attachments

          Activity

            People

            • Assignee:
              danf Dan Feldman (Inactive)
              Reporter:
              arturoa Arturo Aparicio
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: