'Minikuba start' failure on Windows

Offical Doc

  • Install Minikuba on windows
  • Run Minikuba In PowerShell
PS C:\Users\Mark\Downloads> minikube start

Exception

  • X Unable to start VM
  • Error: [VBOX_NOT_FOUND] create: precreate: VBoxManage not found.
PS C:\Users\Mark\Downloads> minikube start
* minikube v1.3.1 on Microsoft Windows 10 Pro 10.0.17763 Build 17763
* Creating virtualbox VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
E0827 10:43:56.712876   26684 start.go:723] StartHost: create: precreate: VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path
*
X Unable to start VM
* Error: [VBOX_NOT_FOUND] create: precreate: VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path
* Suggestion: Install VirtualBox, ensure that VBoxManage is executable and in path, or select an alternative value for --vm-driver
* Documentation: https://www.virtualbox.org/wiki/Downloads
* Related issues:
  - https://github.com/kubernetes/minikube/issues/3784
  - https://github.com/kubernetes/minikube/issues/3776
*
* If the above advice does not help, please let us know:
  - https://github.com/kubernetes/minikube/issues/new/choose

Solution Step

reference How to resolve X Unable to start VM

  • Open Hyper-V Manager


    Menu And Hyper-V Manager
  • Click into virtual switch manage


    Double Click here
  • Create virtual switch


    Click and next
  • Set virtual switch name and Apply immediately


    once after setting the name of virtual switch
  • check your current useable memory enough
    If out of current memory may be will throw following exception

E0827 11:08:17.636222    9816 start.go:723] StartHost: create: creating: exit status 1
  • Run Default memory is 2000mb
minikube start -p [wcw22] --vm-driver hyperv --hyperv-virtual-switch "virtual switch name"
  • minium run memory is 1024
 minikube start -p [wcw22] --memory='1024mb' --vm-driver hyperv --hyperv-virtual-switch "wcw22"

你可能感兴趣的:('Minikuba start' failure on Windows)