docker-machine-driver-xhyve icon indicating copy to clipboard operation
docker-machine-driver-xhyve copied to clipboard

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

Open mvmn opened this issue 9 years ago • 4 comments

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":

  • docker-machine -D create --driver xhyve xhyve-test
  • docker-machine -D create --driver xhyve default

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.

mvmn avatar Feb 09 '16 09:02 mvmn

@mvmn Thanks issue. I'll check later.

zchee avatar Feb 10 '16 00:02 zchee

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

bric3 avatar Feb 22 '16 10:02 bric3

I have the same problem

0xqd avatar Mar 07 '16 09:03 0xqd

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.

mklbtz avatar Jun 27 '16 14:06 mklbtz