Use the images you have
Point cairn at any container image, from Docker Hub or your own registry. No changes to how you build it.
cairn takes the container images you already use and runs each one in a Firecracker microVM on your Linux host. One command deploys it, with its own kernel and a private network.
# cairn.toml version = 1 app = "web" image = "docker.io/library/nginx:1.27" [[services]] internal_port = 80 [[services.ports]] port = 8080
$ cairn deploy
Build and boot a release
$ cairn status web
Show status, endpoints, and log paths
$ cairn stop web
Shut down and keep the disk
$ cairn destroy web
Remove the app and its machines
Features
Start with a container image you already use. Describe the app in
cairn.toml
and cairn builds the disk, sets up networking, and boots the VM.
Point cairn at any container image, from Docker Hub or your own registry. No changes to how you build it.
Every app gets its own kernel and its own private network. You choose which ports the outside world can reach.
Data on volumes survives redeploys. Crashed apps restart on their own, and a failed deploy can roll back.
Each release boots in a fresh microVM. Across redeploys, the app keeps its configured network, published ports, and persistent volumes.
cairn run
Give a coding agent free rein without giving it your machine.
cairn run opens Claude Code,
or any agent you choose, in a microVM with a copy of your project.
Its changes sync back to your folder as it works.
Security
chroot) with three
device nodes and keeps its seccomp filter.
cairn-jail sets up the
jail, and
cairn-helper configures
host networking. Access is limited to root and members of the
cairn group.
Requires an x86-64 host with Linux 6.17 or later and KVM.
sudo
curl
-fsSLo
/etc/yum.repos.d/cairn.repo
https://packages.cairn.dev/cairn.repo
sudo
dnf install cairn
sudo
usermod
-aG cairn
$USER
sudo
curl
-fsSLo
/etc/apt/keyrings/cairn-packages.gpg
https://packages.cairn.dev/cairn-packages.gpg
sudo
curl
-fsSLo
/etc/apt/sources.list.d/cairn.sources
https://packages.cairn.dev/cairn.sources
sudo
apt update
&&
sudo
apt install cairn
sudo
usermod
-aG cairn,kvm
$USER
Start with nginx. Then bring your own image.