在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的原创文章,请关注公众号"汪子熙":

Logo

开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!

更多推荐