SPAWNBOX

How it works

How a sandbox runs: a Firecracker microVM restored from a template snapshot, an agent over vsock, and one egress proxy for network rules and secrets.

Each sandbox is a Firecracker microVM. Spawnbox restores it from the memory snapshot of a template. Each VM has its own jail, cgroup and network namespace. A small agent in each VM talks to the host through vsock. On a host without KVM, each sandbox is a gVisor container. The agent then talks to the host through a private TCP link. All TCP traffic from the sandboxes goes through one egress proxy. This proxy applies the network policy and adds the secrets.

For diagrams and more data, read ARCHITECTURE.md.

This page is the “How Spawnbox works” section of README.md ↗. Found a mistake? Edit it on GitHub ↗