KiriContainer runtime
A container runtime with nothing in the way.
A container runtime turns an image into a running process. Kiri does the whole job in one Rust daemon, and the docker CLI and Compose drive it.
Free, and in beta.
One daemon instead of a stack.
On a typical setup a container start passes five programs before your process runs. On Kiri it passes one.
Docker Desktop, OrbStack
docker CLI→dockerd→containerd→shim→runc→container
five programsKiri
docker CLI→kiri daemon→container
one daemon- What Kiri does itself
- Unpacks the image's layers, sets up the namespaces, the cgroup, the overlay filesystem and the seccomp filter, and creates the container with one
clone3call. - Nothing left per container
- No process stays behind for a running container. OrbStack keeps a shim for each one: 143 running containers held 1.13 GB in shims on our test Mac.
- On a Mac
- One small Linux VM through Apple's Virtualization framework serves every container. It boots in 112 ms, and requests cross one vsock channel with a 31 µs round trip.
- On Linux
- No VM: the daemon runs on your own kernel as a systemd service, from a
.debor.rpm. - On Windows
- The engine runs inside WSL2, and the Docker API reaches Windows on a named pipe. No admin rights, no service.
The runtime alone, measured.
A container's whole life, from create to removal, through the Docker Engine API, with no CLI in the way. Through the docker CLI the same start takes Kiri 22 ms, most of it the CLI starting up.
Start to removal, through the Docker APIMedian
Asked often.
- What is a container runtime?
- The software that runs containers: it takes an image, unpacks its layers, isolates a process with Linux namespaces and cgroups, connects it to a network and starts it. runc, crun, containerd and Docker Engine are runtimes at different levels; Kiri does the whole job in one daemon.
- What is the best container runtime for development?
- For a laptop, one that starts containers fast, stays light when idle and works with the tools you already use. Kiri works with the docker CLI and Compose, and its VM sleeps after a minute idle. Every measurement, including the ones where another engine wins, is on the benchmarks page.
- Is Kiri an alternative to containerd or runc?
- Yes. Kiri uses no containerd, runc or shims. It creates each container itself.
- Is Kiri OCI compatible?
- Kiri runs standard OCI and Docker images from Docker Hub and any registry, and builds images with buildx.
- Which systems does Kiri run on?
- macOS 14 or later, Windows 10 and 11 with WSL2, and Linux with systemd on x86-64 and ARM.