minikube start命令执行失败问题

mac os,在安装完virtualbox以后,启动minikube 的时候,报错的问题

执行以下命令时

minikube start --registry-mirror=https://registry.docker-cn.com

报出错误

	E0222 14:54:38.177121   79361 start.go:529] StartHost: create: creating: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue

💣  Unable to start VM
❌  Error:         [VBOX_HOST_ADAPTER] create: creating: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue

这个问题的原因是安装了virtualbox以后,会在安全性与隐私的通用tab下面画红框的地方,有一个允许oracle安装的应用巴拉巴拉的一段描述(并不显眼),然后还带一个允许按钮,点击打开左下角的小锁头,然后点击允许按钮,然后再重启电脑。有别的文档说要把隐私里的VirtualBox勾上,但是只勾那个并重启后并不管用。
在这里插入图片描述

minikube 创建的virtualbox的登录的用户名和密码

https://www.jianshu.com/p/48804c8bb250

使用用户:docker,密码:tcuser登录。比如:
ssh docker@192.168.99.100,然后输入密码

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐