Hey HN,<p>I’m excited to show you Layerfiles, an OSS project which gives you a single binary to build microvms using a syntax that looks like a Dockerfile.<p>The project is currently in alpha, but it’s already able to build a VM on Linux hosts.<p>MicroVMs are like containers, but have several upsides:<p>- They can run on any OS, so you don’t need to run a wrapper VM like Docker Desktop does.<p>- They also let you keep processes running during a build (RUN BACKGROUND), so you can run a webserver or build server in the background.<p>- You can generally run them rootless without any extra configuration.<p>Here’s an example Layerfile you can try:<p>FROM vm/ubuntu:22.04<p>RUN BACKGROUND python3 -m http.server 8000<p>RUN curl localhost:8000<p>COPY . .<p>RUN ls<p>I'd love any comments or feedback! I’d also appreciate if someone could try building it for Mac or Windows.