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

Cached Docker images have different checksums compared with upstream

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.9.1
    • Fix Version/s: 6.5.9
    • Component/s: Docker
    • Labels:
      None
    • Support Tickets:
      Show
      AT&T - Support Case
    • Product Comments:
      Hide
      27-Feb-2019: Patrick, I tried to reproduce this issue on both busybox and hello-world and it did not reproduce. Same reproduction steps you specified.
      Please look into this again and raise again once you can confirm it is reproduced.
      Show
      27-Feb-2019: Patrick, I tried to reproduce this issue on both busybox and hello-world and it did not reproduce. Same reproduction steps you specified. Please look into this again and raise again once you can confirm it is reproduced.
    • Support Comments:
      Please see private note for response on this JIRA

      Description

      Symptoms: Doing a "docker pull" on the same image through Artifactory has a different checksum.

       

      Steps to reproduce:

      1. Download a Docker image from Docker hub:

      patrickr-mac:Downloads patrickr$ docker pull busybox

      Using default tag: latest

      latest: Pulling from library/busybox

      Digest: sha256:7964ad52e396a6e045c39b5a44438424ac52e12e4d5a25d94895f2058cb863a0

      Status: Downloaded newer image for busybox:latest

      1. Download the same image through Artifactory:

      docker pull artifactory.com/busybox

      Using default tag: latest

      latest: Pulling from busybox

      57c14dd66db0: Pull complete

      Digest: sha256:bbb143159af9eabdf45511fd5aab4fd2475d4c0e7fd4a5e154b98e838488e510

      Status: Downloaded newer image for mill.jfrog.team:12213/busybox:latest

       

      These images are the same in a "docker inspect":

      docker images
      REPOSITORY TAG IMAGE ID CREATED SIZE
      jenkinsci/blueocean latest d4bda3da58c2 3 weeks ago 469MB
      busybox latest 3a093384ac30 6 weeks ago 1.2MB
      artifactory.com/busybox latest 3a093384ac30 6 weeks ago 1.2MB

       This makes using the checksum of Docker images impossible without first pulling the image through Artifactory. 

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              patrickr Patrick Russell
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: