如何解决minikube start的VM问题? [英] How to fix VM issue with minikube start ?

查看:412
本文介绍了如何解决minikube start的VM问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Kubernetes的初学者,从教程.我安装了 VM ,并期望能够使用以下命令来启动集群:

I am a beginner to Kubernetes and starting off with this tutorial. I installed VM and expected to be able to start a cluster by using the command:

minikube start

但是我得到了错误:

Starting local Kubernetes v1.10.0 cluster...
Starting VM...
E0911 13:34:45.394430   41676 start.go:174] Error starting host: Error 
creating host: Error executing step: Creating VM.
: 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中的一个众所周知的错误,但我安装了它的最新版本.有什么想法吗?

It says that it is a well known bug in Virtualbox but I installed its latest version. Any ideas?

推荐答案

找出了问题所在.由于Mac已将VirtualBox阻止,因此未正确安装VirtualBox.起初并不明显.

Figured out the issue. VirtualBox was not installed correctly as Mac had blocked it. It wasn't obvious at first.

  • 如果VirtualBox安装不正确,将无法重新启动.

  • Restarting won't work if VirtualBox isn't installed correctly.

系统偏好设置->安全性和隐私->允许->然后允许软件公司(在这种情况下为Oracle)

System Preferences -> Security & Privacy -> Allow -> Then allow the software corporation (in this case Oracle)

重新启动

现在它可以按预期工作了.

Now it worked as expected.

这篇关于如何解决minikube start的VM问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆