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

"Docker Pull" on specific images does not download manifest.json

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 6.9.1, 6.8.7, 6.12.2
    • Fix Version/s: None
    • Component/s: Docker
    • Labels:

      Description

      Symptoms: The Docker image in Artifactory shows up as a folder rather than the logo icon, and Xray is not scanning the image.

      Steps to reproduce:

      1. On Artifactory 6.8.7, create a remote Docker repository going to Docker Quay ( https://quay.io )
      2. Perform a Docker Pull on a specific problem image "coreos/etcd":

      docker pull repo.jfrog.team:12069/coreos/etcd
      Using default tag: latest
      latest: Pulling from coreos/etcd
      [...]
      Digest: sha256:5b6691b7225a3f77a5a919a81261bbfb31283804418e187f7116a0a9ef65d21d
      Status: Downloaded newer image for mill.jfrog.team:12069/coreos/etcd:latest

      3. Observe that the folder in Artifactory does not contain a manifest.json:

      Index of docker-remote-cache/coreos/etcd/latest
      Name Last modified Size
      ../
      list.manifest.json 30-Apr-2019 23:21 6.50 KB
      sha256__5f56944bb51c627532324ca0f715de6563c08209fdc5dafa43993fd23652a3e6 15-Jun-2018 17:00 187 bytes
      sha256__8bc526247b5c79742e354638a1e33ed2f237c0e7e77adbd0da8fee20085df772 15-Jun-2018 17:00 167 bytes

       

      The Docker image that is pulled works as expected, as the request is served correctly by Artifactory.

      However, this problem causes issues with external tools like Xray or the cleanDockerImages User Plugin that rely on the "manifest.json" file.

       

        Attachments

        1. maven images.png
          28 kB
          David Shin
        2. Package View.png
          127 kB
          Shlomi Kriheli [X]
        3. Screen Shot 2019-04-30 at 3.36.29 PM.png
          30 kB
          Patrick Russell
        4. Screen Shot 2019-04-30 at 3.36.43 PM.png
          84 kB
          Patrick Russell
        5. Screen Shot 2019-04-30 at 3.45.54 PM.png
          46 kB
          Patrick Russell
        6. Screen Shot 2019-05-06 at 8.18.42 AM.png
          89 kB
          Patrick Russell
        7. Tree Browser.png
          173 kB
          Shlomi Kriheli [X]

          Issue Links

            Activity

                People

                Assignee:
                rotemk Rotem Kfir [X] (Inactive)
                Reporter:
                patrickr Patrick Russell
                Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: