minikube / docker 设置代理的方法

启动minikube时:

minikube start --image-mirror-country='cn' --image-repository='registry.cn-hangzhou.aliyuncs.com/google_containers'

Docker制作镜像时:

docker build --build-arg http_proxy=http://your_proxy:your_proxy_port .

Docker推送镜像时:

Leave a Reply

Your email address will not be published.