The exact command to reproduce the issue:
The full output of the command that failed:
๐ฟ Downloading VM boot image ...
minikube-v1.5.1.iso.sha256: 65 B / 65 B [--------------] 100.00% ? p/s 0s
minikube-v1.5.1.iso: 143.76 MiB / 143.76 MiB [] 100.00% 14.11 MiB p/s 10s
๐ฅ Creating hyperkit VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
๐ Retriable failure: create: Error creating machine: Error in driver during machine creation: hyperkit crashed! command line:
hyperkit loglevel=3 console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 systemd.legacy_systemd_cgroup_controller=yes random.trust_cpu=on hw_rng_model=virtio base host=minikube
๐ฅ Deleting "minikube" in hyperkit ...
๐ฅ Creating hyperkit VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
๐ Retriable failure: create: Error creating machine: Error in driver during machine creation: hyperkit crashed! command line:
hyperkit loglevel=3 console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 systemd.legacy_systemd_cgroup_controller=yes random.trust_cpu=on hw_rng_model=virtio base host=minikube
๐ฅ Deleting "minikube" in hyperkit ...
๐ฅ Creating hyperkit VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
๐ Retriable failure: create: Error creating machine: Error in driver during machine creation: hyperkit crashed! command line:
hyperkit loglevel=3 console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 systemd.legacy_systemd_cgroup_controller=yes random.trust_cpu=on hw_rng_model=virtio base host=minikube
๐ฅ Deleting "minikube" in hyperkit ...
๐ฅ Creating hyperkit VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
๐ Retriable failure: create: Error creating machine: Error in driver during machine creation: hyperkit crashed! command line:
hyperkit loglevel=3 console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 systemd.legacy_systemd_cgroup_controller=yes random.trust_cpu=on hw_rng_model=virtio base host=minikube
๐ฅ Deleting "minikube" in hyperkit ...
๐ฃ Unable to start VM: create: Error creating machine: Error in driver during machine creation: hyperkit crashed! command line:
hyperkit loglevel=3 console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 systemd.legacy_systemd_cgroup_controller=yes random.trust_cpu=on hw_rng_model=virtio base host=minikube
๐ฟ Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
๐ https://github.com/kubernetes/minikube/issues/new/choose
The output of the minikube logs command:
The operating system version:
macOS Mojave version 10.14.6
@subratasen please try to update your docker
I had the same problem that was solved after the docker upgrade.
docker version after upgrade
Client: Docker Engine - Community
Version: 19.03.4
API version: 1.40
Go version: go1.12.10
Git commit: 9013bf5
Built: Thu Oct 17 23:44:48 2019
OS/Arch: darwin/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.4
API version: 1.40 (minimum version 1.12)
Go version: go1.12.10
Git commit: 9013bf5
Built: Thu Oct 17 23:50:38 2019
OS/Arch: linux/amd64
Experimental: true
containerd:
Version: v1.2.10
GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339
runc:
Version: 1.0.0-rc8+dev
GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
docker-init:
Version: 0.18.0
GitCommit: fec3683
Maybe related to #5610
If so, this issue is resolved by installing latest hyperkit.
hyperkit is installed with docker for mac together.
So, if you upgrade docker for mac to latest version, this issue may be resolved.
I'm going to add version check of hyperkit to prevent this.
You shouldn't need to install docker, just to run minikube.
@subratasen could you please check if upgrading your Hyperkit would fix this ?
https://github.com/kubernetes/minikube/issues/5594#issuecomment-548583815
Looks like hyperkit driver for minikube doesn't work without Docker for Mac, even with hyperkit installed with Homebrew. I've been doing lots of tests with that, and no luck, unless you install Docker for Mac.
Perhaps, vpnkit is what Minikube also want with hyperkit driver? Because that seems to be the only piece missing without Docker for Mac. And you can't install vpnkit with brew apparently.
Hey @subratasen are you still seeing this issue? It seems that doing the following might help:
Please let us know if that doesn't help!
I can confirm that the issue is still present with the latest versions of hyperkit and minikube, on macOS catalina.
๐ minikube v1.6.2 on Darwin 10.15.2
โจ Selecting 'hyperkit' driver from user configuration (alternates: [])
๐ฅ Creating hyperkit VM (CPUs=2, Memory=4000MB, Disk=64000MB) ...
๐ฃ Unable to start VM. Please investigate and run 'minikube delete' if possible
โ Error: [HYPERKIT_CRASHED] create: Error creating machine: Error in driver during machine creation: hyperkit crashed! command line:
hyperkit loglevel=3 console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 systemd.legacy_systemd_cgroup_controller=yes random.trust_cpu=on hw_rng_model=virtio base host=minikube
๐ก Suggestion: Hyperkit is broken. Upgrade to the latest hyperkit version and/or Docker for Desktop. Alternatively, you may choose an alternate --vm-driver
โ๏ธ Related issues:
โช https://github.com/kubernetes/minikube/issues/6079
โช https://github.com/kubernetes/minikube/issues/5780
๐ฟ If the above advice does not help, please let us know:
๐ https://github.com/kubernetes/minikube/issues/new/choose
As @burdiyan has said, the workaround is to install Docker for Desktop, which stinks.
I am having this issue as well:
New version of hyperkit with Catalina fix is finally available on Homebrew, see https://github.com/Homebrew/homebrew-core/pull/50655 & https://github.com/moby/hyperkit/issues/267 for details.
I'm closing this issue as it hasn't seen activity in awhile, and it's unclear if this issue still exists. If this issue does continue to exist in the most recent release of minikube, please feel free to re-open it.
Thank you for opening the issue!
I am no longer able to reproduce the issue, so I believe it has been resolved with newer minikube and/or hyperkit releases.
Most helpful comment
Looks like hyperkit driver for minikube doesn't work without Docker for Mac, even with hyperkit installed with Homebrew. I've been doing lots of tests with that, and no luck, unless you install Docker for Mac.