chanezon/azure-linux — pull request #11 by carmstrong (2014-12-22 21:22:06+00:00)
Title: All registries are insecure

Azure doesn't follow RFC1918, which means it uses publicly-routable
IP addresses in private networks. This is bad for lots of reasons,
but the one concerning us is that it breaks Deis pushes:

```
[info] POST /v1.15/images/100.74.122.55:5000/karmic-nailhead/push?tag=git-7643b9e2
[bbf62d6b] +job push(100.74.122.55:5000/karmic-nailhead)
Invalid registry endpoint https://100.74.122.55:5000/v1/: Get https://100.74.122.55:5000/v1/_ping: EOF. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry 100.74.122.55:5000` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/100.74.122.55:5000/ca.crt
[bbf62d6b] -job push(100.74.122.55:5000/karmic-nailhead) = ERR (1)
```

We have to tell the Docker daemons on Azure that all registries are
insecure, since we don't know what IP ranges the Deis registry
will be in.