-
Notifications
You must be signed in to change notification settings - Fork 110
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
Unable to run on CentOS #9
Comments
It looks like the centos 6.x version is too old. Not sure if RH has been backporting things for it upstream, but the mainline 0.10 release looks to be ~4 years old according to the libvirt.org page. Not sure what the best course of action is. Looking at Centos 7, I see it has 1.2.17 libvirt, which is more likely to work (I don't have a physical centos box to test/confirm) If you're stuck on 6.x, you might consider downloading the source from http://libvirt.org/downloads.html to update it. |
Thanks for a quick response! Yup, we're stuck with Centos 6.x :-( |
I have the same issue as a normal user in centos 7: docker-machine create -d kvm dockerhans1 When I login as root it works fine and the machine is created Any ideas ? |
@jhmnieuwenhuis you probably haven't wired up group membership to allow your user account access to the libvirt socket. It depends on the distro, but I think most packaing sets it up as root only, but you can add members to a group (something like "libvirt" to allow access. Here's an example from my Ubuntu based system:
|
spot on !! Regards, Hans Nieuwenhuis |
One other question. Regards, |
That's not currently possible, but could be added. If you wanted to take a crack at it and submit a PR, I think most of the logic would live within https://github.com/dhiltgen/docker-machine-kvm/blob/master/kvm.go#L654-L670 and perhaps a new command line flag to toggle the behavior. |
Well that's not something I am able to do. Regards, |
Hi, two more observations when I run docker-machine upgrade on a kvm machine as a non-root user it will not work. when I use "--kvm-network default" when creating the kvm machine, there wil be when i use "--kvm-network docker-machines" there are also two network interfaces created There where already kvm vm's created on my host before I used docker on it. Regards, Hans |
Any other info I need to provide in order to isolate issue?
For sure, I know that true way to use this driver is to issue following command, but it doesn't work either:
The text was updated successfully, but these errors were encountered: