Spin up Clear Linux VM using native hypervisor (Hyper-V or xhyve)

Tools like Docker for [Mac / Windows] and Canonical’s multipass tool (for Ubuntu) make it easy to spin up virtual machines using the platform’s native hypervisor. On Windows, they use Hyper-V, and on Mac, they use xhyve.

Does Clear Linux have any tooling to easily spin up / destroy development VMs running Clear Linux in a similar fashion to the aforementioned tools?

Cheers,
Trevor Sullivan

It sounds like you’re specifically looking for a GUI.

You can get virt-manager by installing the virt-manager-gui bundle.

You can get GNOME Boxes by installing the gnome-boxes bundle.

Docker and KVM/QEMU are available directly with the command-line of course, which is what I end up using for quick testing.

I’m not looking for a GUI, actually. Multipass is a command line tool, and Docker for Mac/Windows are just installers that can be automated (in theory). I’d be interested in a similar capability for Clear Linux, to make it painfully easy to spin up/down Clear Linux VMs.

Check out multipass, and give it a try, and I think you’ll see what I mean.

Tools like Docker for [Mac / Windows] and Canonical’s multipass tool (for Ubuntu) make it easy to spin up virtual machines using the platform’s native hypervisor. On Windows, they use Hyper-V, and on Mac, they use xhyve.

Does Clear Linux have any tooling to easily spin up / destroy development VMs running Clear Linux in a similar fashion to the aforementioned tools?

CL has some dedicated images for Hyper-V, KVM, AWS and GCE to
use, you can find them at:

https://clearlinux.org/downloads

and Cl has some guides to use them at: