Docker push EOF error

Viewed 12849

I try tu push an image in my public docker repository, but after some minutes I have this probel:

enter image description here

and during pushing occur this many times(retrying):

enter image description here

My version of docker is the follow:

enter image description here

How to solve this problem ?

5 Answers

docker push to ECR error When I push an image to ECR, an EOF error occured. The reason is remote repository[jdk-8-newrelic] does not exist. After creating the repository, PUSH succeeded.

I got this error when my image name was incorrectly formatted. I was trying to push an image called registry-url/my-repository/my-image-name:tag This is wrong; I need a repository per image name. registry-url/my-image-name:tag worked, once I created the repository named my-image-name.

This was on ECR.

I have met this issue nowadays when I am pushing an image to a private registry. And I checked out the Docker log and found that there was something unexpected about the proxy but I did not have to push to my private through the proxy. So I added my registry address to the Docker proxy whitelist to skip the proxy, and it worked. I wish it helps!

In my case, I had saved AWS credentials from another account where I did not have full access anymore. Check your C:\Users\YourUserName.aws\credentials if you are on Win.

Related