Docker Technical Articles

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

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

Issue:

While deploy minikube in ubuntu vm failing at following step,

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

root@ubuntu:~# minikube start
Starting local Kubernetes v1.8.0 cluster…
Starting VM…
E1128 08:14:00.956059    2110 start.go:150] 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.
E1128 08:14:00.960848    2110 start.go:156] 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

Solution:

1. This issue exist because sometime Virtulization Technology(VTX) is not enabled in Bios settings.
2. Some cases even this option enabled also will face this issue.
3. At the moment run the following command will resolve the issue.

root@ubuntu:~# minikube start –vm-driver=none
4. After that will start minikube in local vm.

Tags:minikube,kubernetes,minikube installtion,minikube issue,vt-x,VTX,virtulization