Minikube无法在Ubuntu上启动,引发错误 [英] Minikube not starting on Ubuntu, throwing errors

查看:570
本文介绍了Minikube无法在Ubuntu上启动,引发错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Dell XPS 13(3854 MB的RAM和Intel Core i5-5200U CPU @ 2.20GHz)上运行Ubuntu 17.04(zesty),并尝试启动Minikube,但是我遇到几个错误尝试启动它.

I'm running Ubuntu 17.04 (zesty) on a Dell XPS 13 (3854 MB of RAM and Intel Core i5-5200U CPU @ 2.20GHz) and trying to start up Minikube, but I'm getting a couple errors when I try to start it up.

➜  minikube version
minikube version: v0.22.3

➜  kubectl version
Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.5", GitCommit:"17d7182a7ccbb167074be7a87f0a68bd00d58d97", GitTreeState:"clean", BuildDate:"2017-08-31T09:14:02Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
The connection to the server localhost:8080 was refused - did you specify the right host or port?

我有VM VirtualBox版本5.2.0 r118431(Qt5.7.1).我已经检查了BIOS设置并启用了虚拟化.

I have VM VirtualBox Version 5.2.0 r118431 (Qt5.7.1). I've checked the BIOS settings and have virtualization enabled.

➜  minikube start
Starting local Kubernetes v1.7.5 cluster...
Starting VM...
E1025 09:49:40.206594   22972 start.go:146] Error starting host: Error starting stopped host: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed:
VBoxManage: error: The virtual machine 'minikube' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
.

 Retrying.
E1025 09:49:40.207051   22972 start.go:152] Error starting host:  Error starting stopped host: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed:
VBoxManage: error: The virtual machine 'minikube' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine

我尝试了一些建议,这些建议表明我已经在线找到了,例如运行~/rm -rf .minikube/并尝试再次启动minikube.我试过先运行minikube stop,然后再运行minikube delete,然后尝试再次启动minikube.我也尝试在启动minikube start --vm-driver=virtualbox时指定virtualbox驱动程序.这些不起作用,我仍然遇到相同的错误.

I've tried some suggests that I've found online, like running ~/rm -rf .minikube/ and trying to start up minikube again. I've tried running minikube stop followed by a minikube delete and then trying to start minikube again. I've tried specifying the virtualbox driver when starting as well minikube start --vm-driver=virtualbox. These aren't working, I still get the same error.

推荐答案

这似乎与Virtualbox安装有关,您是否尝试过重新安装?

This looks like an issue with your Virtualbox installation, have you tried reinstalling it?

sudo apt-get purge virtualbox virtualbox-dkms
sudo apt-get install virtualbox-5.1

这篇关于Minikube无法在Ubuntu上启动,引发错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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