Wednesday 15 August 2018

Error starting stopped host: docker-machine-driver-xhyve binary needs root owner and uid

Error starting stopped host: docker-machine-driver-xhyve binary needs root owner and uid


Getting following error while starting minikube on mac:

Starting local Kubernetes v1.6.4 cluster...
Starting VM...
E0815 17:20:54.068879   63618 start.go:127] Error starting host: Error starting stopped host: docker-machine-driver-xhyve binary needs root owner and uid. See https://github.com/zchee/docker-machine-driver-xhyve#install.

 Retrying.
E0815 17:20:54.069558   63618 start.go:133] Error starting host:  Error starting stopped host: docker-machine-driver-xhyve binary needs root owner and uid. See https://github.com/zchee/docker-machine-driver-xhyve#install
================================================================================
An error has occurred. Would you like to opt in to sending anonymized crash
information to minikube to help prevent future errors?
To opt out of these messages, run the command:
        minikube config set WantReportErrorPrompt false
================================================================================
Please enter your response [Y/n]:

To fix this error run following commands:


$ brew update
$ brew install --HEAD xhyve
$ 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

0 comments:

Post a Comment

 

Copyright @ 2013 Appychip.

Designed by Appychip & YouTube Channel