dhiltgen / docker-machine-kvm

KVM driver for docker-machine
Apache License 2.0
376 stars 117 forks source link

Docker machine kvm for ubuntu 20 #76

Open vishnugs opened 4 years ago

vishnugs commented 4 years ago

Hi

Pleas share the docker machine kvm for Ubuntu 20.

Regards' Vishnu

afbjorklund commented 4 years ago

This project isn't making releases anymore, so might have to use 16.04 - or build your own

darkn3rd commented 3 years ago

What was the difference between the generic linux release vs. distro based releases?

afbjorklund commented 3 years ago

The binary itself is mostly static, so the main difference is which libvirt version it links to.

Normally you want to use an old version (like ubuntu 16.04) to keep it more compatible...

darkn3rd commented 3 years ago

@afbjorklund I am new to libvirt, so am not sure what the old version is?

This is the version I have installed from system packages:

$ libvirtd --version
libvirtd (libvirt) 6.0.0
$ virsh --version
6.0.0
afbjorklund commented 3 years ago

Here is the version in the build container:

# pkg-config --modversion libvirt
1.3.1

https://packages.ubuntu.com/libvirt-dev

And there is the resulting ABI being used:

$ strings docker-machine-driver-kvm | grep '^LIBVIRT_[0-9]' | sort | tail -n 1
LIBVIRT_1.2.9

When using Ubuntu 16.04 to build, that is.

(still runs OK on for instance Ubuntu 20.04)