windowsdockerconnectionpushdockerhub

Docker push use of closed network connection


When trying to push a big file to Docker Hub (4GB),

docker push name/image:latest

it stops half way after a few hours with the error "use of closed network connection" and the file is not pushed.

write tcp 192.xxx>192.xxx: use of closed network connection 

This might be due to an unstable connection. It has 2Mb/s in upload.

How can I ask Docker or Windows to keep pushing even if there is a short disconnection?

Note: the small files are pushed correctly.


Solution

  • After many trials and investigations, I've found that there is a kind of time-out with slow connections.

    I've changed to a better connection of 10Mb/s and Docker has pushed the large files correctly.