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
888 stars 74 forks source link

docker-machine-driver-xhyve compatibility with Docker on Mac #199

Open ncraike opened 6 years ago

ncraike commented 6 years ago

I'm sorry if this is something which is already documented somewhere. I've looked as best I can but can't find it covered in any documentation for this repo or the kubernetes/minikube repo.

I'd like to install Minikube on my MacBook Pro to run Kubernetes locally.

I already have Docker CE for Mac (I think previously known as Docker on Mac) installed on the same machine.

My understanding is that Docker CE for Mac also uses a Linux VM running through Xhyve to host Docker containers, so I already have Xhyve installed on my system in some way.

As such, do I still need to install docker-machine-driver-xhyve to use Minikube? What is likely to happen if I run brew install docker-machine-driver-xhyve as described in the README? Will I get two different competing and incompatible installs of the Xhyve driver?

Should I skip installing docker-machine-driver-xhyve if I already have Docker CE for Mac, and just continue on with the Minikube install? Or should I uninstall Docker CE for Mac before setting up Minikube? Is there some way I can use the existing Xhyve setup for Minikube?

Is this documented anywhere in the install instructions? It'd be great if it was at least mentioned, since developers with a Mac who are trying out Kubernetes are very likely to have Docker already installed on their system.