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

Error creating machine: Error in driver during machine creation [ boot2docker under xhyve ] #281

Closed
alexbrebu opened this issue Dec 10, 2018 · 8 comments

Comments

@alexbrebu
Copy link

alexbrebu commented Dec 10, 2018

occurs on macOS Mojave 10.14.2

Homebrew used to install: dinghy, docker, docker-compose, docker-machine, docker-machine-nfs, docker-machine-driver-xhyve


codekitchen/dinghy/dinghy 4.6.5
docker 18.09.0
docker-compose 1.23.2
docker-machine 0.16.0
docker-machine-driver-xhyve 0.3.3_1


screenshot 2018-12-10 at 17 28 43

@alexbrebu alexbrebu changed the title Error creating machine: Error in driver during machine creation Error creating machine: Error in driver during machine creation [ boot2docker under xhyve ] Dec 10, 2018
@alexbrebu
Copy link
Author

alexbrebu commented Dec 10, 2018

Temporary workaround:
✅: dinghy create --provider=xhyve --cpus=${cpus:-3} --memory=${memory:-4096} --disk=${disk:-40000} --boot2docker-url=https://github.com/boot2docker/boot2docker/releases/download/v18.06.1-ce/boot2docker.iso
🚀: eval $(dinghy env)

@alexbrebu
Copy link
Author

@codekitchen

@beardcoder
Copy link

Yes i can reproduce that. But i thing this is a problem with ne driver and boot2docker

@codekitchen
Copy link
Owner

This does look like a problem with boot2docker or the xhyve driver. Do you get the same error if you do a docker-machine create -d xhyve directly?

On your workaround, was there a particular reason that you chose the v18.06.1-ce boot2docker version? I'm curious why that would fix it.

If this does happen when running docker-machine create directly also, I'd recommend reporting it to the docker-machine-driver-xhyve project. I'll see if I can repro as well.

@alexbrebu
Copy link
Author

alexbrebu commented Dec 19, 2018

I did docker-machine create -d "xhyve" theMachine directly.

screenshot 2018-12-19 at 17 36 08


Workaround came as v18.06.1-ce boot2docker was the last version that I remembered I had tried before and worked.


Have you succeeded to repro?

@codekitchen
Copy link
Owner

I am able to successfully repro, and I found this existing issue in the docker-machine-driver-xhyve project for the issue: machine-drivers/docker-machine-driver-xhyve#211

It sounds like it has already been fixed upstream and the fix will be in the next boot2docker release, so your workaround is the best option for now.

@beardcoder
Copy link

Yes it will work with

dinghy create --memory=8000 --cpus=4 --disk=100000 --provider=xhyve --boot2docker_url="https://github.com/boot2docker/boot2docker/releases/download/v18.09.1-rc1/boot2docker.iso"

@codekitchen
Copy link
Owner

It looks like this is now fixed upstream with boot2docker v18.09.1, and the workaround is no longer necessary.

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

3 participants