Alpine Docker-Machine KVM Driver
☰ Table of Content
It is easy to install Docker in Alpine as packages are readily available. But what about Docker-Machine without VirtualBox?
Install Docker Machine
Following official instruction work perfectly:
|
|
Check version:
|
|
Docker KVM Driver
Docker site only give VirtualBox example:
|
|
There is a driver list if you dig deeper but none is for KVM. dhiltgen on github created one but stopped maintaining it, and it has issue1 with the latest docker image used by docker machine. The current working driver is from tdilauro’s fork and you can install it as below:
|
|
This fork added the --kvm-nic-type
option to allow one to specify virtio
during the creation process. Then you can create docker machine like this:
|
|
John Siu
Update: 2022-05-12