Search code examples
dockervirtualboxminikube

Issue when trying to start minikube with virtualbox?


I'm using the new version of MacOs Catalina, i just installed Docker, Minikube and Virtualbox. All these from Homebrew. When i try to start minikube start, i get following error:

😄  minikube v1.9.2 on Darwin 10.15.4
✨  Using the virtualbox driver based on user configuration
👍  Starting control plane node m01 in cluster minikube
🔥  Creating virtualbox VM (CPUs=2, Memory=6000MB, Disk=20000MB) ...
❗  This VM is having trouble accessing https://k8s.gcr.io
💡  To pull new external images, you may need to configure a proxy: 
https://minikube.sigs.k8s.io/docs/reference/networking/proxy/

💣  Failed to enable container runtime: enable docker.: NewSession: write tcp 
127.0.0.1:50207->127.0.0.1:50185: write: broken pipe

😿  minikube is exiting due to an error. If the above message is not useful, open an issue:
👉  https://github.com/kubernetes/minikube/issues/new/choose

With hyperkit-vm its working fine, but not with virtualbox? Anyone know why I am getting this problem? I did not get this error for few days ago, suddenly i get this now?

Thank for the help!


Solution

  • I think there might a a bug from minikube. There is some related issue to this one on their GitHub site.

    https://github.com/kubernetes/minikube/issues/7616

    https://github.com/kubernetes/minikube/issues/7465

    Hopefully they will fix this bug soon as possible.