private docker registry access

I’ve set up a droplet instance in digitalocean using vagrant.

Everything seems to wirk fine. Nevertheless, I’m trying to pull two images from my provate registry. All user-data configuration is been well tested setting up a identical VM on DigitalOcean using the same user-data.

I’m setting my private registry as insecure in user-data. I don’t know whether the problem is related with setting insecure-registry or not.

The response is when docker tries to pull an image from my privare repository is:

Handler for POST /v1.22/images/create returned error: Error parsing HTTP response: invalid character '<' looking for beginning of value: \"<html>

Any ideas?


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.