Skip to content

Commit 75b9b63

Browse files
authored
Merge pull request #21936 from Yiyiyimu/patch-2
[zh] Update install-minikube, add alibaba image
2 parents 0a72441 + 0ae9f82 commit 75b9b63

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

content/zh/docs/tasks/tools/install-minikube.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,14 @@ For setting the `--vm-driver` with `minikube start`, enter the name of the hyper
402402
[指定 VM 驱动程序](/docs/setup/learning-environment/minikube/#specifying-the-vm-driver) 列举了 `--vm-driver` 值的完整列表。
403403
{{< /note >}}
404404

405+
{{< note >}}
406+
由于国内无法直接连接 k8s.gcr.io,推荐使用阿里云镜像仓库,在 `minikube start` 中添加 `--image-repository` 参数。
407+
{{< /note >}}
408+
405409
```shell
406410
minikube start --vm-driver=<driver_name>
411+
# Or when you need
412+
minikube start --vm-driver=<driver_name> --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers
407413
```
408414

409415
<!--
@@ -481,4 +487,3 @@ minikube delete
481487
-->
482488

483489
* [使用 Minikube 在本地运行 Kubernetes](/docs/setup/learning-environment/minikube/)
484-

0 commit comments

Comments
 (0)