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

Support KVM docker-machine driver #238

Closed
jimmidyson opened this issue Jun 28, 2016 · 2 comments
Closed

Support KVM docker-machine driver #238

jimmidyson opened this issue Jun 28, 2016 · 2 comments

Comments

@jimmidyson
Copy link
Member

I have a (nearly) working fork of minikube that supports KVM Docker Machine driver. However there is one problem: it requires cgo & linking to libvirt (from https://github.com/rgbkrk/libvirt-go). I assume that would be a deal breaker but would appreciate it if you think of any way we could support this. libvirt/kvm is a much better option for Linux IMO than virtualbox which I know lots of people have problems with.

docker-machine uses the kvm driver via the plugin architecture so that it does not need to be compiled in. Is this a better approach for supporting all the drivers docker machine supports?

@dlorenc
Copy link
Contributor

dlorenc commented Jun 28, 2016

Cool!

cgo is a little painful but probably doesn't need to be a dealbreaker. @luxas, what do you think?

We could also use multiple binaries like docker-machine does, but that complicates the setup. Once we get a real installer this option could get a lot more viable, though.

@jimmidyson
Copy link
Member Author

As discussed in #242 it seems that libmachine will execute the plugin binary if available so no need to compile in with cgo :) Works for me nicely... just put docker-machine-driver-kvm in my PATH, specify kvm driver et voila.

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

2 participants