dhiltgen/docker-machine-kvm

Docker machine kvm for ubuntu 20

Opened this issue · 5 comments

Hi

Pleas share the docker machine kvm for Ubuntu 20.

Regards'
Vishnu

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

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

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...

@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

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
  • libvirt-lxc.so.0 => /usr/lib/x86_64-linux-gnu/libvirt-lxc.so.0 (0x00007fda15460000)
  • libvirt-qemu.so.0 => /usr/lib/x86_64-linux-gnu/libvirt-qemu.so.0 (0x00007fda1545b000)
  • libvirt.so.0 => /usr/lib/x86_64-linux-gnu/libvirt.so.0 (0x00007fda15005000)

When using Ubuntu 16.04 to build, that is.

(still runs OK on for instance Ubuntu 20.04)