docker-machine-kvm icon indicating copy to clipboard operation
docker-machine-kvm copied to clipboard

Docker machine kvm for ubuntu 20

Open vishnugs opened this issue 5 years ago • 5 comments

Hi

Pleas share the docker machine kvm for Ubuntu 20.

Regards' Vishnu

vishnugs avatar May 18 '20 07:05 vishnugs

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

afbjorklund avatar May 18 '20 15:05 afbjorklund

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

darkn3rd avatar Oct 11 '20 23:10 darkn3rd

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 avatar Oct 12 '20 05:10 afbjorklund

@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

darkn3rd avatar Oct 12 '20 20:10 darkn3rd

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)

afbjorklund avatar Oct 14 '20 09:10 afbjorklund