Question

Unable to docker push to private registry

Posted November 17, 2021 69 views
Docker

Hi, I created a new docker repository and I am trying to push my images to the new registry from my local machine. I create and tag the image correctly and when I try to push it I get this error:
“error parsing HTTP 400 response body: unexpected end of JSON input: ”“ ”
I am using a read/write token which is the one I used to authenticate in my local machine.

Does anyone have any ideas what might be happening?

Thanks in advance.

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

Hey there!

This may be a policy configuration error on the repository. You can try decreasing the security for the repo. I’d also recommend being sure the user you are pushing as has the right permissions.

Hope it helps!
Nate