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

使用不了minikube #20143

Open
gopherhiro opened this issue Dec 22, 2024 · 1 comment
Open

使用不了minikube #20143

gopherhiro opened this issue Dec 22, 2024 · 1 comment
Labels
l/zh-CN Issues in or relating to Chinese

Comments

@gopherhiro
Copy link

logs.txt

重现问题所需的命令
minikube start

失败的命令的完整输出

minikube logs命令的输出

使用的操作系统版本

@gopherhiro gopherhiro added the l/zh-CN Issues in or relating to Chinese label Dec 22, 2024
@ComradeProgrammer
Copy link
Member

ComradeProgrammer commented Dec 31, 2024

To use minikube, your docker must be able to pull kicbase image, either from gcr.io(official image registry of google) or docker.io (official inage registry of dockerhub). Otherwise this minikube start. However I saw

I1222 13:35:58.461368    1915 cache.go:168] failed to download gcr.io/k8s-minikube/kicbase:v0.0.45, will try fallback image if available: getting remote image: Get "https://gcr.io/v2/": dial tcp 74.125.195.82:443: i/o timeout
I1222 13:36:58.610949    1915 cache.go:168] failed to download docker.io/kicbase/stable:v0.0.45, will try fallback image if available: getting remote image: Get "https://index.docker.io/v2/": dial tcp 104.244.43.231:443: i/o timeout

If you are using a proxy software, please properly configure your docker engine. Ensure you can execute one of these

  • docker pull kicbase/stable:v0.0.45
  • docker pull gcr.io/k8s-minikube/kicbase:v0.0.45
    I saw u are using docker hub on a macos amd64. Please keep in mind that docker hub requires special configuration to use proxy. It won't automatically work with a proxy. If you are using proxy, please search the internet to properly configure it.

minikube 必须得拉得到kicbase这个镜像,这个镜像目前只有gcr.io(谷歌registry) 或者docker.io (dockerhub)才有。但是从日志来看你现在本机docker其实这俩镜像都拉不到,都超时了。

我看你用的mac+docker desktop还用的中文,估计是从大陆开代理了吧, docker desktop这个玩意很神奇,他本质是个mac里面套了个linux虚拟机,所以不会直接走mac的系统代理。docker desktop需要单独配置代理,具体配置你自己谷歌吧。

配完之后你用上面那俩命令试试,那俩至少得成功一个才行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l/zh-CN Issues in or relating to Chinese
Projects
None yet
Development

No branches or pull requests

2 participants