docker-registry - docker registry push后不成功,并且ping https了
伊谢尔伦
伊谢尔伦 2017-04-24 09:12:17
0
2
653

为什么最后会去get https了 而且我怀疑都没push成功 因为都没返回id之类的

我创建registry image语句是
docker run -d -p 5000:5000 registry 在浏览器里也只能访问192.168.99.100:5000(环境是osx)

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(2)
洪涛

If you only use the answer above locally, it should be fine. If you use it remotely, it is recommended to use secure mode. I built a registry in the ubuntu system and encountered this problem during remote use. Here is the information I compiled, I hope it will be useful to you. Helps.

PHPzhong

Solved it myself.
Enter the corresponding docker-machine and modify the /var/lib/boot2docker/profile file EXTRA_ARGS='
--label provider=virtualbox
'

is EXTRA_ARGS='
--label provider=virtualbox --insecure-registry (ip corresponding to docker-machine):5000
'

After saving, go out and restart the corresponding machine

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!