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

Artifactory should raise a warning message while aggregating docker image layers

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: 4 - Normal
    • Resolution: Unresolved
    • Affects Version/s: 7.12.6
    • Fix Version/s: None
    • Labels:
      None

      Description

      Feature description: While viewing the docker image through virtual repository it is aggregating image layers of the same docker image from the two local repositories. For reference please find below a video recording of the same:

      RETRICTED_URL

       

      Please find below replication steps:

       -> Create two docker local repositories pavan-docker-local and pavan-docker-local-default

       -> Create a docker virtual repository add above created local repos to it.

       -> Perform docker login:

      docker login swarnenduk-pavan-docker-local-default.jfrog.io

       -> Tag ubuntu default image which retrieved from docker hub.

      docker tag f63181f19b2f swarnenduk-pavan-docker-local-default.jfrog.io/ubuntu:latest

       -> Push the docker image to pavan-docker-local-default repository

      docker push swarnenduk-pavan-docker-local-default.jfrog.io/ubuntu:latest

       -> Build a docker image from ubuntu base image using below Dockerfile.

      Command:

      docker build -t ubuntu_image1 .

       

      > cat Dockerfile 

      FROM ubuntu:latest

      RUN apt-get update -y

      RUN apt-get install -y vim

       -> Tag this image and push to pavan-docker-local repository.

      docker tag ff7378a778d1 swarnenduk-pavan-docker-local.jfrog.io/ubuntu:latest

      docker push swarnenduk-pavan-docker-local.jfrog.io/ubuntu:latest

       

      What is the expected behavior: Artifactory should raise a warning during these scenarios.

       

      Possible workaround: Push the images to a different folder in any of docker local repository or push with a different image name. 

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            pavang Pavan Gonugunta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Sync Status

                Connection: RTFACT Sync
                RTMID-24922 -
                SYNCHRONIZED
                • Last Sync Date: