Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

指定docker的insecure-regsitry配置失败 #31

Open
subjordan opened this issue Oct 14, 2020 · 1 comment
Open

指定docker的insecure-regsitry配置失败 #31

subjordan opened this issue Oct 14, 2020 · 1 comment

Comments

@subjordan
Copy link

启动命令如下:
minikube start
--driver='virtualbox'
--image-mirror-country='cn'
--image-repository='registry.cn-hangzhou.aliyuncs.com/google_containers'
--registry-mirror=https://registry.docker-cn.com
--insecure-registry=['0.0.0.0/0']

最后一行 insecure-registry 的值试了很多,如 0.0.0.0/0,'0.0.0.0/0'等等,都不成功,最终查看到 /usr/lib/systemd/system/docker.service 文件中的 insecure-registry 配置一直是 10.96.0.0/12,导致minikube无法从我主机部署的私有registry pull 镜像

@RogueCultivators
Copy link

--insecure-registry=192.168.0.205:5000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants