minikube: ! VM is unable to access k8s.gcr.io, you may need to configure a proxy or set --image-repository

重现问题所需的命令

失败的命令的完整输出

minikube logs命令的输出

使用的操作系统版本

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (3 by maintainers)

Commits related to this issue

Most upvoted comments

I have solved that with the following command:

$ minikube start \
--driver=${DRIVER} \
--registry-mirror=${DOCKER_REGISTRY_MIRROR} \
--image-mirror-country=cn \
--image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers

try this option --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers

@damangueyu it seems like you dont have access to k8s.gcr.io.

do you mind to try to start minikube with this option ?

minikube start --image-mirror-country=cn