簡體   English   中英

無法在 ubuntu 20.04 上使用 virtualbox 驅動程序啟動 minikube

[英]Failed to start minikube with virtualbox driver on ubuntu 20.04

我正在嘗試使用命令“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/

通常您只需要輸入您的 BIOS 設置並啟用安全虛擬機模式

就像你說的。 我必須進入主板BIOS的高級配置並啟用安全虛擬機模式。

謝謝

在 Admin powerShell minikube 中運行命令刪除 Minikube start

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM