private docker registry access

September 15, 2016 2.6k views
Docker CoreOS

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?

1 Answer
Have another answer? Share your knowledge.