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

docker push throws "manifest invalid: manifest invalid"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Not a Bug
    • Affects Version/s: 4.7.4
    • Fix Version/s: None
    • Component/s: Docker
    • Labels:
      None

      Description

      This error seems to happen when we run docker push for the second time for an artifact with the same SHA. This causes the build to fail.

      This is the output from the failed 3rd attempt.
      docker push egencia-docker.jfrog.io/egencia-java:latest
      The push refers to a repository [egencia-docker.jfrog.io/egencia-java]
      f7cce6841dd7: Layer already exists
      fc3f134f5a80: Layer already exists
      b72088d4c86c: Layer already exists
      073438a02923: Layer already exists
      ee4107626e29: Layer already exists
      1a5da8007cf5: Layer already exists
      3bc83ec41320: Layer already exists
      a3cfaebef4dc: Layer already exists
      5009d39fac53: Layer already exists
      cf97ba02bd37: Layer already exists
      5f70bf18a086: Layer already exists
      1b82ce694c3b: Layer already exists
      db6b2d84f3c6: Layer already exists
      05b940eef08d: Layer already exists
      manifest invalid: manifest invalid

      Here is the output from the successful 1st attempt:
      + docker push egencia-docker.jfrog.io/egencia-java-service:4.1.1.1
      The push refers to a repository [egencia-docker.jfrog.io/egencia-java-service]
      7840cb2d6a41: Layer already exists
      82bcc44f0288: Layer already exists
      d0501d9be40b: Layer already exists
      512425a0e08e: Layer already exists
      50e3b0a9655b: Layer already exists
      f7cce6841dd7: Layer already exists
      fc3f134f5a80: Layer already exists
      b72088d4c86c: Layer already exists
      073438a02923: Layer already exists
      ee4107626e29: Layer already exists
      1a5da8007cf5: Layer already exists
      3bc83ec41320: Layer already exists
      a3cfaebef4dc: Layer already exists
      5009d39fac53: Layer already exists
      cf97ba02bd37: Layer already exists
      5f70bf18a086: Layer already exists
      1b82ce694c3b: Layer already exists
      db6b2d84f3c6: Layer already exists
      05b940eef08d: Layer already exists
      4.1.1.1: digest: sha256:6b38d96c713e525b2456ba6d4592a91fa46ac3070303dd923473e3e70444d955 size: 4274

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hneelakantan_expedia Hari Neelakantan
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: