3

I have installed Ubuntu on VirtualBox in Windows 10. I have also installed a Virtualbox and minikube on Ubuntu. But when I try to start minikube it returns an error saying that Virtualbox cannot be created.

❌ Error: [VBOX_VERR_VMX_NO_VMX] start: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed: VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

  • I think your processor may possibly not support virtualization. Try grep -e svm -e vmx /proc/cpuinfo if there's no output your cpu can't do virtualization. – Arronical Jul 23 at 8:36
  • @Arronical I have checked my processor supports virtualization it is just that I believe it cannot detect it in Virtualbox. – SahilM Jul 23 at 11:37
  • Is it enabled in the BIOS? There's often a setting there to disable/enable it. – Arronical Jul 23 at 11:46
  • @Arronical if you mean my system BIOS yes as for Virtualbox I don't know how to enable it. VirtualBox doesn't have the option to enable BIOS. – SahilM Jul 23 at 13:54
  • 1
    You'd need to run minikube on a physical installation of Ubuntu. – Arronical Jul 23 at 14:53
4

The issue that you're facing is that Minikube cannot run on a nested virtual machine. As you've installed the Minikube VM on an Ubuntu VM, running inside VirtualBox on Windows, your VM is nested.

This is a feature that may be developed in future, but until then you'll need a physical installation of Ubuntu to use Minikube.

More details can be found here and here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.