mac 上启动 minicube 报错,有人碰到过么

2020-01-17 15:35:06 +08:00
 groofnish

➜ ~ minikube start 😄 Darwin 10.15.2 上的 minikube v1.6.2 ✨ Selecting 'virtualbox' driver from existing profile (alternates: []) 💡 Tip: Use 'minikube start -p <name>' to create a new cluster, or 'minikube delete' to delete this one. 🏃 Using the running virtualbox "minikube" VM ... ⌛ Waiting for the host to be provisioned ... panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x1ec130f]</name>

goroutine 99 [running]: github.com/google/go-containerregistry/pkg/v1/tarball.Write(0x0, 0xc0007911a0, 0x6, 0xc0007911a7, 0x20, 0xc0007911c8, 0x6, 0x0, 0x0, 0xc000839c68, ...) /go/pkg/mod/github.com/google/go-containerregistry@v0.0.0-20180731221751-697ee0b3d46e/pkg/v1/tarball/write.go:57 +0x12f k8s.io/minikube/pkg/minikube/machine.CacheImage(0xc0007911a0, 0x2e, 0xc00063cba0, 0x51, 0x0, 0x0) /app/pkg/minikube/machine/cache_images.go:395 +0x5df k8s.io/minikube/pkg/minikube/machine.CacheImages.func1(0xc00080ff68, 0x0) /app/pkg/minikube/machine/cache_images.go:85 +0x124 golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000695c80, 0xc000695e30) /go/pkg/mod/golang.org/x/sync@v0.0.0-20190423024810-112230192c58/errgroup/errgroup.go:57 +0x64 created by golang.org/x/sync/errgroup.(*Group).Go /go/pkg/mod/golang.org/x/sync@v0.0.0-20190423024810-112230192c58/errgroup/errgroup.go:54 +0x66

这个报错信息太通用了,谷歌不出来啥有用的信息
2263 次点击
所在节点    程序员
4 条回复
billzhuang
2020-01-17 17:22:46 +08:00
看起来都说是 ipv6 的问题,但我禁用了 ipv6 还是不行。
cqxxxxxxx
2020-01-17 17:43:29 +08:00
试一试 `minikube start --image-mirror-country='cn' --registry-mirror=https://registry.docker-cn.com --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers`
frank1357
2020-01-17 18:09:17 +08:00
换 minikube v1.6.1, 前几天遇到过
billzhuang
2020-01-19 11:29:11 +08:00
按照这个来,应该没问题,主要还是强的问题
https://yq.aliyun.com/articles/221687

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/638761

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX