Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression with v0.4.0 #221

Open
vinodc opened this issue May 20, 2019 · 4 comments
Open

Regression with v0.4.0 #221

vinodc opened this issue May 20, 2019 · 4 comments

Comments

@vinodc
Copy link

vinodc commented May 20, 2019

The issues described at minishift/minishift#2380 and kubernetes/minikube#1942 appear to now re-occur with the latest version when installing from Homebrew, although installing 0.3.3 manually works fine.

@looselytyped
Copy link

looselytyped commented May 23, 2019

If you are looking to downgrade to 0.3.3_1 using brew, the following seems to work

brew uninstall docker-machine-driver-xhyve
https://raw.githubusercontent.com/Homebrew/homebrew-core/467aa378d7370a893d2af820384ff11cef4b9ff1/Formula/docker-machine-driver-xhyve.rb

@alicerum
Copy link

@looselytyped

Error starting the VM: Error creating the VM. Error with pre-create check: "Virtual Box version 4 or lower will cause a kernel panicif xhyve tries to run. You are running version: 6.0.8r130520\n\n\t Please upgrade to version 5 at https://www.virtualbox.org/wiki/Downloads"

with your fix method. asks to upgrade virtualbox from major version 6 to major version 5

@sly01
Copy link

sly01 commented Jul 17, 2019

+1

aerkoc@Ahmets-MacBook-Pro  ~/docker-compose/swarm-monitor  docker-machine ls  3 ↵
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
default - xhyve Running tcp://192.168.64.5:2376 v18.06.1-ce
node1 * xhyve Running tcp://192.168.64.6:2376 v18.09.1
node2 - xhyve Running tcp://192.168.64.7:2376 v18.09.1
aerkoc@Ahmets-MacBook-Pro  ~/docker-compose/swarm-monitor  docker-machine create manager --driver xhyve  ✔
Running pre-create checks...
Error with pre-create check: "Virtual Box version 4 or lower will cause a kernel panicif xhyve tries to run. You are running version: 6.0.4r128413\n\n\t Please upgrade to version 5 at https://www.virtualbox.org/wiki/Downloads"

aerkoc@Ahmets-MacBook-Pro  ~/docker-compose/swarm-monitor 

@ascherkus
Copy link

AFAICT this is caused by backwards-incompatible configuration change introduced in #195 where the semantics of the Virtio9p driver config was changed from a bool to a []string.

If you recently updated via Homebrew you would have picked up this incompatible change. I suppose the change should have introduced completely new flags vs. reusing the same flag name and breaking existing machines.

I tried modifying ~/.docker/machine/machines/default/config.json to reflect the change but found it easier to blow away the machine and recreate it via docker-machine rm -f and docker-machine create.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants