Closed v11yu closed 9 years ago
Use exactly that syntax. This is a daemon flag, so you need to restart your daemon. Finally, if you use an ip, specify an ip, if you use a domain name, same thing, that needs to be consistent.
Hope that helps.
And this github repository is clearly marked as deprecated. Registry 2 repository is linked on the front page.
I have try to use registry mirror. Docker client is 1.7.0,and registry is 2.0. I have try to
--insecure-registry http://example.com:5000
--insecure-registry example.com:5000
--insecure-registry=example.com:5000
It didn't work at all.just throw error, and you can see it in this link http://stackoverflow.com/questions/31517388/how-to-create-docker-registry-mirror-on-centos: