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

Docker machine kvm for ubuntu 20 #76

Open
vishnugs opened this issue May 18, 2020 · 5 comments
Open

Docker machine kvm for ubuntu 20 #76

vishnugs opened this issue May 18, 2020 · 5 comments

Comments

@vishnugs
Copy link

Hi

Pleas share the docker machine kvm for Ubuntu 20.

Regards'
Vishnu

@afbjorklund
Copy link

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

@darkn3rd
Copy link

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

@afbjorklund
Copy link

afbjorklund commented Oct 12, 2020

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
Copy link

@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
Copy link

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)

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

3 participants