machine-drivers / docker-machine-driver-xhyve

docker-machine/minikube/minishift driver plugin for xhyve/hyperkit (native macOS hypervisor.framework)
https://godoc.org/github.com/machine-drivers/docker-machine-driver-xhyve
BSD 3-Clause "New" or "Revised" License
889 stars 73 forks source link

Please add to README as requirement. #109

Open alexellis opened 8 years ago

alexellis commented 8 years ago

A quick test to see if this will work on your MAC is:

$ sysctl kern.hv_support
kern.hv_support: 0

If the value is 0 then it will not work, if 1 then it should work. I have a (later than 2010) Macbook 13, but after investing time installing all the code etc it failed to start the VM during the driver provision.

I think you could save people a lot of time by including the above snippet. Are you OK to add it?

Thanks,

Alex

(xhyve) Generate UUID...
(xhyve) DBG | Generated UUID: 05B9FB16-CD8A-4525-ABC8-72859E43E50B
(xhyve) Convert UUID to MAC address...
notifying bugsnag: [Error in driver during machine creation: exit status 1]
Error creating machine: Error in driver during machine creation: exit status 1
...
...
...
$ docker-machine start xhyve
(xhyve) Waiting for VM to come online...
(xhyve) Waiting on a pseudo-terminal to be ready... vmx_init: processor not supported by Hypervisor.framework
$ system_profiler SPHardwareDataType
Hardware:

    Hardware Overview:

      Model Name: MacBook
      Model Identifier: MacBook7,1
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2.4 GHz
      Number of Processors: 1
      Total Number of Cores: 2
      L2 Cache: 3 MB
      Memory: 4 GB
      Bus Speed: 1.07 GHz
      Boot ROM Version: MB71.0039.B0B
      SMC Version (system): 1.60f5
      Sudden Motion Sensor:
          State: Enabled