Question

Unable to docker push to private registry

  • Posted November 17, 2021
  • 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.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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