Skip to content

Beanstack

Runs virtual machines, microVMs and containers across several of my own machines, from one API and CLI.

HypervisorGo

The problem

Beanstack started because I wanted to understand how a system like Incus works from the ground up, so I'm building one from scratch. It treats OCI containers and microVMs as first-class workloads next to full virtual machines, and it's designed to scale from a single node to large clusters.

How it works

Beanstack runs full virtual machines with QEMU, microVMs with Cloud Hypervisor, and OCI containers, across several nodes. You drive it with the beanstack CLI: networks, address pools, volumes, instances and the cluster itself.

OCI images like nginx or Postgres boot as microVMs. Beanstack flattens the image into an ext4 file system, and a small initramfs mounts it and starts the image's real entrypoint with its environment. So the image behaves like it does in Docker.

A network either gets its addresses from Beanstack, or leaves that to DHCP from outside. Each node runs an agent that keeps its workloads running when the control plane is down.

Status

Private and in active development. The code isn't public yet.