Start until a container runs
- hyperbutler
- 2.5 s
- Docker Desktop
- 5.6 s
hyperbutler
New v0.2.0: a sandbox for AI coding agents
hyperbutler is a lightweight, Docker‑compatible engine. It boots a minimal Linux
VM through the Windows Host Compute Service, runs dockerd inside it, and lets the
stock docker CLI talk to it.
Windows 11 Home, Pro, Enterprise · x64 · MSI or zip · Apache-2.0
PS C:\Users\you> hyperbutler start
hyperbutler is running: the Docker API answered after 1.5 s (engine pid 7412).
PS C:\Users\you> docker run --rm hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
PS C:\Users\you>
Benchmarks
hyperbutler against Docker Desktop 4.97 (WSL 2), on one laptop, each with its default settings. Shorter bars are better.
Docker Desktop varied over the first 6 minutes; the faded part of its bar is that range.
The faded part is the WSL download, needed if WSL is missing.
Measured on one laptop (Windows 11 Home, Core Ultra 7 155H, 32 GB), one engine at a time, same script. Docker Desktop’s Resource Saver stops its VM after about 7 idle minutes; its processes then use 404 MiB. One machine is not a general result. Method and raw data
Features
No tuning, no extra subsystem to keep updated. Install it, start it, run containers.
The VM runs directly on the Windows Host Compute Service, the same API WSL 2 uses. WSL is not required, can stay disabled, and its updates do not affect hyperbutler.
3 resident processes at idle
Home is first-class; Pro and Enterprise work too. You need an x64 PC with virtualization enabled in the firmware.
Delete images and the data disk shrinks on its own. No manual compaction, no admin step.
Mount a Windows folder with -v C:\src:/src. Reading 2000 small files took 0.4 s; large files move at about 500 MB/s written and 900 MB/s read.
The docker CLI and the compose plugin are bundled and set up through a hyperbutler docker context. Compose builds, healthchecks, service names, volumes and bind mounts are tested.
hyperbutler sends no usage data. The app only checks GitHub for updates once a day, and you can turn that off.
The source is on GitHub. Free to use at any company size.
New in v0.2.0
hyperbutler sandbox run gives a coding agent, or any command, a Linux VM of
its own with a copy of your project. Nothing it does reaches your files until you read
the changes and apply them.
# a shell in the copy: start your agent there
> hyperbutler sandbox run --name work C:\src\myapp
# every change, against your files now
> hyperbutler sandbox diff work
# only then do they reach C:\src\myapp
> hyperbutler sandbox apply work --all
The agent sees none of your disk. A change that could run code later, such as a Makefile, a CI workflow or a package manifest, is never applied without you naming it. Files named like secrets stay out of the copy.
dev reaches package registries, git hosts and model providers' APIs by exact name; locked only what you allow; open everything. sandbox blocked lists what it asked for and did not get.
Headless Chromium runs in a session, so an agent can drive it with Playwright. Ctrl+] leaves the terminal and the agent keeps going; sandbox attach comes back.
The session image is a separate download of about 270 MB, on first use. How the sandbox works · v0.2.0
How it works
Your tools talk to a process of your own, which talks to a small Linux VM over Hyper‑V sockets. A tiny Windows service is the only privileged part: it starts and stops that VM, and nothing else.
Your tools
Unchanged. They use a hyperbutler docker context.
Runs as you, no admin
C:\Linux VM on HCS
Windows service since v0.1.0
The only part that calls the Host Compute Service. Seven short, typed requests (start, stop, status…) over a pipe only you can open, a fixed VM template, and no paths or command lines from the caller. So you need neither admin rights nor the Hyper‑V Administrators group.
Design decisions, threat model and review results: Architecture in the README
Install
You need Windows 11 (Home, Pro or Enterprise) on x64, with virtualization enabled in the firmware.
Download it from the latest release. One UAC prompt, then it:
docker CLI to the PATH;Only when Virtual Machine Platform was just turned on. Otherwise open a new terminal so it sees the new PATH.
> hyperbutler start
> docker run hello-world
Builds are not code-signed yet, so SmartScreen says “Windows protected your
PC”: choose More info, then Run anyway.
Check the file against SHA256SUMS from the release first:
Get-FileHash .\hyperbutler-*-windows-amd64.msi -Algorithm SHA256
The zip works without installing anything, but it has no broker service, so your account needs Hyper-V Administrators membership. That group lets every program you run control the Hyper-V VMs on this PC: treat it as close to admin rights. See the install guide.
v0.2.0
v0.2.0 adds the agent sandbox, BuildKit builds and ports published on 127.0.0.1. Its release candidate ran a 24-hour soak (283,947 docker commands, none failed), and the one slow leak it found is fixed. It works end to end on Windows 11 Home. Some things are still open. Among them:
node_modules.