docker - 无法在 ubuntu 20.04 上使用 virtualbox 驱动程序启动 minikube
问题描述
我正在尝试使用命令“minikube start --vm-driver=virtualbox”启动 minikube。在我安装适用于 Linux(ubuntu 20.04)的 VirtualBox 6.1.18 之前。但是当我运行启动命令时,shell 会抛出一个错误。谁能帮我
非常感谢!!!
StartHost failed, but will try again: creating host: create: creating: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed:
VBoxManage: error: AMD-V is disabled in the BIOS (or by the host OS) (VERR_SVM_DISABLED)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
Details: 00:00:00.173843 Power up failed (vrc=VERR_SVM_DISABLED, rc=NS_ERROR_FAILURE (0X80004005))
Creating virtualbox VM (CPUs=2, Memory=3900MB, Disk=20000MB) ...
Failed to start virtualbox VM. Running "minikube delete" may fix it: creating host: create: creating: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed:
VBoxManage: error: AMD-V is disabled in the BIOS (or by the host OS) (VERR_SVM_DISABLED)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
Details: 00:00:00.172445 Power up failed (vrc=VERR_SVM_DISABLED, rc=NS_ERROR_FAILURE (0X80004005))
❌ Exiting due to HOST_SVM_DISABLED: Failed to start host: creating host: create: creating: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed:
VBoxManage: error: AMD-V is disabled in the BIOS (or by the host OS) (VERR_SVM_DISABLED)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
Details: 00:00:00.172445 Power up failed (vrc=VERR_SVM_DISABLED, rc=NS_ERROR_FAILURE (0X80004005))
Suggestion: Your host does not support virtualization. If you are running minikube within a VM, try '--driver=docker'. Otherwise, enable virtualization in your BIOS
Related issue: https://github.com/kubernetes/minikube/issues/7074
解决方案
这通常是由于在您的机器的 bios 中禁用了虚拟化并且不允许 VirtualBox 正常启动。通常您只需要输入您的 BIOS 设置并启用安全虚拟机模式
有关详细信息,请查看此帖子https://appuals.com/fix-amd-v-is-disabled-in-the-bios-verr_svm_disabled/
推荐阅读
- c# - 使用目录搜索器(或)用户主体使用电话号码属性查找用户?
- r - 在向量的情况下如何将结果组合为数据框
- class - 我可以将类作为扩展添加到 Kotlin 中的另一个类吗?
- python - Tkinter 抛出奇怪的不完整异常
- python - 如何对列文本的一部分进行排序?
- google-app-engine - 请解释 App Engine Instances 参数
- ios - React Native,将图像存储在用户库中而不压缩
- c# - 将备忘录添加到包库的最简洁方法是什么
- powershell - 如何在 Internet Explorer 上更改选择下拉网页
- android - 删除 imageview 背景颜色