docker-archive / docker-registry

This is **DEPRECATED**! Please go to https://github.com/docker/distribution
Apache License 2.0
2.88k stars 879 forks source link

EOF while pushing, what to do? #753

Open galitz opened 9 years ago

galitz commented 9 years ago

Hi.

While doing some testing I ran into this situation:

$ sudo docker push docker-registry.XXX/ggalitz/crazytest1 
The push refers to a repository [docker-registry.XXX/ggalitz/crazytest1] (len: 1)
Sending image list
Pushing repository docker-registry.XXX/ggalitz/crazytest1 (1 tags)
Image 511136ea3c5a already pushed, skipping
Image 34e94e67e63a already pushed, skipping
b1bd49907d55: Image successfully pushed 
9cf2e40b5e23: Image successfully pushed 
6c72c71dafda: Image successfully pushed 
a16a131b40f7: Image successfully pushed 
1739feaf13d7: Pushing [==================================================>]  5.12 kB/5.12 kB
2014/11/19 08:19:41 Failed to upload metadata: Put https://docker-registry.XXX/v1/images/1739feaf13d79cf17ca5444ba1203b8111bd522643d81b790cf30dfc75c7f570/checksum: EOF

 $ sudo docker push docker-registry.XXX/ggalitz/crazytest1 
The push refers to a repository [docker-registry.XXX/ggalitz/crazytest1] (len: 1)
Sending image list
2014/11/19 08:20:17 ]$ 

My question is this: what is the best way to verify the integrity of the pushed repo/image? Should it be fixable via anything other than an rmi and repush?

dmp42 commented 9 years ago

Hi @galitz

Is the repo in a "broken" state after such a failed layer upload?

dmp42 commented 9 years ago

Hello, any update?

galitz commented 9 years ago

Sorry... been busy. I'll make time to determine just how broken this appears.

-G