Skip to content

Instantly share code, notes, and snippets.

@dmcgowan
Created June 30, 2015 22:35
Show Gist options
  • Save dmcgowan/bb24f1a4a4b69c213a24 to your computer and use it in GitHub Desktop.
Save dmcgowan/bb24f1a4a4b69c213a24 to your computer and use it in GitHub Desktop.
Push by digest error
$ docker pull hello-world
latest: Pulling from library/hello-world
a8219747be10: Already exists
91c95931e552: Already exists
Digest: sha256:aa03e5d0d5553b4c3473e89c8619cf79df368babd18681cf5daeb82aab55838d
Status: Image is up to date for docker.io/library/hello-world:latest
$ docker tag hello-world:latest dmcgowan/hello-world-test:latest
$ docker push dmcgowan/hello-world-test:latest
The push refers to a repository [dmcgowan/hello-world-test] (len: 1)
91c95931e552: Image successfully pushed
a8219747be10: Image successfully pushed
Digest: sha256:a570e212592d188eeb68cc13ccd657eca5ee3807f4373f0c3fba585bc2947552
$ docker pull dmcgowan/hello-world-test@sha256:a570e212592d188eeb68cc13ccd657eca5ee3807f4373f0c3fba585bc2947552
sha256:a570e212592d188eeb68cc13ccd657eca5ee3807f4373f0c3fba585bc2947552: Pulling from dmcgowan/hello-world-test
a8219747be10: Already exists
91c95931e552: Already exists
Digest: sha256:a570e212592d188eeb68cc13ccd657eca5ee3807f4373f0c3fba585bc2947552
Status: Image is up to date for docker.io/dmcgowan/hello-world-test@sha256:a570e212592d188eeb68cc13ccd657eca5ee3807f4373f0c3fba585bc2947552
$ docker push dmcgowan/hello-world-test
The push refers to a repository [dmcgowan/hello-world-test] (len: 2)
91c95931e552: Image already exists
91c95931e552: Image already exists
a8219747be10: Image already exists
Digest: sha256:8cdbcf9591d1b1ee6b0fb639292a188559d770e02c6d8282220f07869191a740
error pushing tag: DIGEST_INVALID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment