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

"Driver xhyve not found" after installing docker-machine-driver-xhyve via brew on OS X #93

Open mvmn opened 8 years ago

mvmn commented 8 years ago

I've run following commands to install docker-machine-driver-xhyve on OS X 10.11.3:

$ brew install docker-machine-driver-xhyve

$ sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
$ sudo chmod u+s $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve

Installation was successful, /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve binary is present and upon running it directly returns message that seems to indicate it is executable and working:

This is a Docker Machine plugin binary.
Plugin binaries are not intended to be invoked directly.
Please use this plugin through the main 'docker-machine' binary.
(API version: 1)

The problem occurred when running "docker-machine create":

both commands returned same error: Driver xhyve not found

I've also tried adding /usr/local/opt/docker-machine-driver-xhyve/bin to PATH, but this solved nothing.

Please help.

zchee commented 8 years ago

@mvmn Thanks issue. I'll check later.

bric3 commented 8 years ago

@mvmn Have you tried to reinstall docker-machine via homebrew ? I had no issue to install xhyve plugin.

0xqd commented 8 years ago

I have the same problem

mklbtz commented 8 years ago

I had this same problem. I'm not sure where my installation of docker-machine came from, but it wasn't home-brew. When I removed my existing installation and installed it with brew, it immediately recognized the xhyve driver. Hope that helps.