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?

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.

×
1 answer
by Nik van der Ploeg
Publish to and pull Docker images from your own private Docker registry.
Submit an Answer