1. 程式人生 > >錯誤消息 This computer doesn't have VT-X/AMD-v enabled

錯誤消息 This computer doesn't have VT-X/AMD-v enabled

lin upload sta super ima 開源框架 分享 running tin

在VirtualBox的Ubuntu虛擬機裏試圖本地安裝Kyma(一個基於Kubernetes的開源框架)時,遇到下面的錯誤信息:

E0827 11:19:38.972489 3093 start.go:174] Error starting host: Error creating host: Error executing step: Running precreate checks.

: This computer doesn‘t have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory.

Retrying.

E0827 11:19:38.972667 3093 start.go:180] Error starting host: Error creating host: Error executing step: Running precreate checks.

: This computer doesn‘t have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory

E0827 11:19:39.162741 3093 util.go:151] Error uploading error message: : Post https://clouderrorreporting.googleapis.com/v1beta1/projects/k8s-minikube/events:report?key=AIzaSyACUwzG0dEPcl-eOgpDKnyKoUFgHdfoFuA: read tcp 10.0.2.15:59216->172.217.160.74:443: read: connection reset by peer

i042416@ubuntu:~/kyma/kyma/installation$ E0827 11:19:38.972489 3093 start.go:174] Error starting host: Error creating host: Error executing step: Running precreate checks.

: This computer doesn‘t have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory.

Retrying.

我使用的虛擬機軟件是VirtualBox, 裏面已經設置了啟用虛擬化技術 VT-x/AMD-V:

技術分享圖片

技術分享圖片

根據這個錯誤信息在Stack Overflow上查詢,發現一條線索:

https://superuser.com/questions/1138980/this-computer-doesnt-have-vt-x-amd-v-enabled-enabling-it-in-the-bios-is-mandat

技術分享圖片

簡單得說,VirtualBox不支持在虛擬機裏開啟另一個嵌套的虛擬機。如果確實需要運行這種嵌套的虛擬化場景,需要嘗試VMWare Workstation 11.

技術分享圖片

技術分享圖片

要獲取更多Jerry的原創文章,請關註公眾號"汪子熙":

技術分享圖片

錯誤消息 This computer doesn't have VT-X/AMD-v enabled