Kiri Explained: A Lightweight Docker Desktop Alternative That Starts Containers in 2.5 ms
A lightweight container runtime in Rust that speaks the Docker CLI, starts containers in about 2.5 ms, and is free and open source.
1. What it is: a smaller, faster container runtime
2. Where the speed comes from: how 2.55 ms happens
3. What “free Ngrok alternative” actually means
4. Install and first run: three steps
5. kiri vs Docker Desktop vs OrbStack: how to choose
6. Who it fits, who should wait, and sources
Comparison: kiri vs Docker Desktop vs OrbStack
| Item | kiri | Docker Desktop | OrbStack |
|---|---|---|---|
| Container startup (Docker API, median) | 2.55 ms | 213 ms | 380 ms |
| Container startup (docker CLI, median) | 14.2 ms | 243 ms | 442 ms |
| License | Apache-2.0 | Closed source (Desktop app) | Closed source |
| Price | Free | Free for personal and small business; larger companies need a subscription (Pro from $9/user/month, annual) | Free for personal non-commercial use; commercial use needs Pro ($8/user/month, annual) |
| Platforms | macOS 14+, Windows 10/11, Linux | macOS, Windows, Linux | macOS 14+ only |
| Local domains + HTTPS | Built in (kiri.local, own CA) | Not built in (set up your own proxy and certificates) | Built in (orb.local) |
| CLI compatibility | docker, Compose, and buildx all work | Native | docker and Compose work |
| Kubernetes | Single-node k3s with one command (ready in ~20 s) | Built-in single-node cluster | Built-in single-node cluster |
Container startup speed (OrbStack = 1×, higher is faster)
数据来源:kiri README, “Numbers” section (bench/results.json): alpine running true, then removed; median of 30 runs; same docker CLI. Speed multiples derived from startup times (OrbStack 380 ms ÷ each runtime's time).
Frequently Asked Questions
Can kiri fully replace Docker Desktop?
For everyday development, yes: the docker CLI, Compose, and buildx are all compatible, images pull the same way, and kiri import brings your old containers over. Two known gaps to know about: docker build --add-host name:host-gateway fails under BuildKit (waiting on the built-in builder), and at 13 days old the project is less polished than Docker Desktop in places. If you only want stability, wait a while.
Is 2.5 ms real?
The number comes from the “Numbers” section of the repository README: an alpine image running true and then removed, median of 30 runs, the same docker CLI, at 2.55 ms through the Docker Engine API. The method is public (bench/results.json), and once installed you can re-run it on your own machine with kiri bench. Results will vary on other machines — do not treat it as a promise for yours.
Can the “free Ngrok alternative” publish my local service to the public internet?
No. What kiri gives you is local domains (<name>.kiri.local) with self-signed HTTPS, which only resolve on your own machine. To send a link to someone outside your network, you still need a tunneling tool such as ngrok or Cloudflare Tunnel. What it saves is the manual work of local domains and certificates — not the tunnel.
Does it work on Windows?
Yes. Windows 10/11 (x86-64 or Arm) runs through WSL 2 — install the .msi and you are done; kiri-win.exe serves the API over a named pipe, so no changes to WSL or Windows network settings are needed. On Linux it runs directly on the host kernel, with no virtual machine at all.
Does kiri cost anything? What license is it under?
It is free, under the Apache-2.0 open-source license, with the repository public on GitHub. For comparison: any commercial use of OrbStack needs Pro ($8/user/month, billed annually), and Docker Desktop at larger companies needs a subscription (Pro from $9/user/month, annual billing). For personal use, all three are effectively free — the difference shows up in commercial settings.
I already have images and containers — what happens to them?
You do not need to rebuild anything. kiri import brings images, volumes, and containers over from Docker Desktop or OrbStack in one step; the first launch sets up a kiri Docker context automatically, so docker commands work with --context kiri, or you can use kiri run, kiri ps, and the other kiri commands directly.
Can it run Kubernetes?
Yes. kiri k8s start brings up a single-node k3s cluster in about 20 seconds, as the kiri kubectl context, with LoadBalancer services published straight on localhost. It is good for testing manifests locally — not a production cluster.