docker push to container registry leads to retries and EOF error

Posted October 13, 2021 148 views
DigitalOcean Container Registry (DOCR)

I keep trying to push an image to my Container Registry and have the following error, over and over and over.

2df70cee25f4: Pushing [==================================================>]  98.97MB
fd6fd1b38aa6: Pushing   5.12kB
eed5e724bb3f: Pushing [==================================================>]  3.584kB
39519b1d4243: Pushing [==================================================>]  673.3kB
d3a2e66169a4: Pushing [==================================================>]    158MB
bda6db3aeddf: Pushing [==================================================>]  1.303MB
1218b2cb2178: Pushing [==================================================>]  4.533MB
35fad31e25bc: Pushing [==================================================>]  31.74kB
162d1528e8f2: Retrying in 5 seconds
f9fdf403761e: Retrying in 7 seconds
1091b2242301: Retrying in 4 seconds
6535dbe050f8: Waiting
478dbb6fa9b9: Waiting
a574f1b5dd09: Waiting
74ff7c20c1be: Waiting
7e77b50d4b08: Waiting
20ad77933d0c: Waiting
7fa9f3915e68: Waiting
8d26f4bbe9d1: Waiting
5cd34c065b53: Waiting
d49465772d36: Waiting
6dabd9bfb6b6: Waiting
86f857e82f5f: Waiting
e81bff2725db: Waiting

It’ll push layers. Then say it will retry. Then eventually it dies at EOF. As far as I know there isn’t an easy way to debug what could be the error.

I made sure to run doctl registry login.

I was able to push the image to Docker Hub without error.

Docker Desktop for macOS v4.0.1

Engine 20.10.8

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

It looks like it was due to my Netgear router blocking for spam.