docker/docker — pull request #8467 by ktap (2014-10-08 04:42:53+00:00)
Title: registry: Introduce --insecure-ssl-registry daemon flag to control secur...

...e certificate verify with registry

Currently many users cannot pull registry image behind corporate firewall,
because of the certificate issue.

[root@localhost docker]# docker pull ubuntu
Pulling repository ubuntu
2014/05/15 15:51:24 Get https://index.docker.io/v1/repositories/ubuntu/images: x509: certificate signed by unknown authority

This patch introduce a new daemon flag "--insecure-ssl-registry" to control
secure certificate verify. The default value is false.

Note that this global daemon flag will affects *all* hosts, it's also possible
make sense allow per-host configuration in future.

Docker-DCO-1.1-Signed-off-by: Jovi Zhangwei (github: ktap)