Docker Community Forums

Share and learn in the Docker community.

Error pushing to registry: Head https://registry-1.docker.io/v2/xxx


(Peeyush gupta) #1

HI,

I am not able to understand what is wrong with docker push. I am trying to push 2 images, one of them took at least 20 retries to get pushed, the other one, I have tried at least 50 times, everytime I get different error.
Here are the logs:

#docker push pensu/ppc64le-rails 
The push refers to a repository [pensu/ppc64le-rails] (len: 1) 
040cb708cc8e: Image already exists 
29764ce936da: Image already exists 
bfaf25e48751: Image already exists 
f6a732358a87: Image already exists 
a2ce01fc4d4f: Image push failed 
time="2015-10-27T06:19:07-05:00" level=fatal msg="Error pushing to registry: Head https://registry-1.docker.io/v2/pensu/ppc64le-rails/blobs/sha256:30a9d282d5884e74634b3146fa3f224986816034f62a2374d7f67ebba23eb86e: EOF" 
#docker push pensu/ppc64le-rails 
The push refers to a repository [pensu/ppc64le-rails] (len: 1) 
040cb708cc8e: Image push failed 
time="2015-10-27T06:19:11-05:00" level=fatal msg="Error pushing to registry: Head https://registry-1.docker.io/v2/pensu/ppc64le-rails/blobs/sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4: EOF" 
#docker push pensu/ppc64le-rails 
The push refers to a repository [pensu/ppc64le-rails] (len: 1) 
040cb708cc8e: Image already exists 
29764ce936da: Image already exists 
bfaf25e48751: Image already exists 
f6a732358a87: Image already exists 
a2ce01fc4d4f: Image push failed 
time="2015-10-27T06:19:22-05:00" level=fatal msg="Error pushing to registry: Head https://registry-1.docker.io/v2/pensu/ppc64le-rails/blobs/sha256:30a9d282d5884e74634b3146fa3f224986816034f62a2374d7f67ebba23eb86e: EOF"

How can a layer be present in one iteration and push fails in another iteration? Please make the messages clearer. And please look into it, this is very frustrating.

I am using docker 1.6.2.


(Moonlits) #2

I’ve been suffering this problem for a long time, it takes hundreds of retries to get through… and nobody seems to know what is going on. I posted similar question here: Can’t push image into the hub