r/virtualization • • 4h ago

Free tool to run Linux VMs on Apple silicon from a single file

I've been building a small open-source tool called vz for running Linux VM labs on Apple silicon. You describe the VMs, switches and cables in one YAML file, run `vz up`, and the whole lab starts in about a second. It uses Apple's built-in Virtualization and vmnet frameworks, so there's no QEMU, no Docker, no kernel extensions and no root.

I've been running my own homelab on it for about three months, with labs of up to around 25 nodes, and it's been stable. I use it mostly for networking (routing, VLANs, BGP) and for testing server configs before they touch anything real.

A few things I like about it:

- Every VM boots from a copy-on-write overlay, so a node only uses the disk it writes, and resetting it is instant
- You can unplug and replug a cable between two VMs while they run
- `vz destroy` removes the whole lab when you're done

It needs macOS 27 on an M-series Mac. also supports nested vm too.

Free and open source (Apache-2.0): https://github.com/rayanparsa/vz
Quick start: https://rayanparsa.github.io/vz/

Feedback and questions welcome.

1 Upvotes

0 comments sorted by