在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.
我使用的虛拟機軟體是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.