Disclaimer:This site is not affiliated with or endorsed by kiri.
YuliusWiki
Published:•Last updated:•yulius
🌐 中文版 (Chinese)

Kiri Explained: A Lightweight Docker Desktop Alternative That Starts Containers in 2.5 ms

Quick Answer

A lightweight container runtime in Rust that speaks the Docker CLI, starts containers in about 2.5 ms, and is free and open source.

kiri is an open-source container runtime on GitHub (libracoder/kiri), created November 2, 2026, under the Apache-2.0 license and written in Rust: a lightweight alternative to Docker Desktop and OrbStack — you keep using the docker CLI, Compose, and buildx, but containers start in about 2.5 ms, and every container gets a local domain with HTTPS. As of 17:30 Beijing time on November 15, 2026, the repository has 4,376 stars and 209 forks — about 340 stars a day over 13 days — and the latest release, v0.2.1, shipped today. Every fact below comes from the repository README, its features documentation, and the GitHub API. Two things up front: first, this is a native desktop application, not a browser tool; second, the “free Ngrok alternative” in its tagline means local domains plus HTTPS — not publishing your service to the public internet, as the third section explains.

1. What it is: a smaller, faster container runtime

Start with what it is. kiri is a container runtime: the layer on your computer that runs Docker images. It does not change your workflow — the docker CLI, Compose, and buildx keep working exactly as before, images pull the same way, commands stay the same. What changes is the layer underneath: instead of a heavy desktop application and a permanently resident virtual machine, you get a very small Linux VM (on Linux it runs straight on the host kernel, no VM at all) plus a Rust agent of about 900 KB. The name comes from the Igbo word ntakịrị, meaning “small” — and it lives up to it. It caught fire fast. Created November 2, 2026, it reached 4,376 stars and 209 forks by 17:30 Beijing time on November 15 — about 340 stars a day over 13 days. The fork-to-star ratio is about 4.8%: a star says “this looks good”, a fork says “I am going to run it and change it”, so a good share of people are actually installing it rather than just passing by. Releases come quickly too: six versions in 13 days, the latest, v0.2.1, shipped today. Like agent-autoloop, which we covered earlier on this site, kiri is a self-hosted tool that runs on your own computer — no cloud service involved, data and credentials stay on your machine. The problem it targets is concrete: Docker Desktop has been criticized for years on two counts — it is heavy, and larger companies have to pay for it; OrbStack is light, but it only supports macOS and commercial use needs a Pro license. kiri wants both pieces at once: all three platforms, free under the Apache-2.0 license, and faster to start.

2. Where the speed comes from: how 2.55 ms happens

First the numbers, all from the “Numbers” section of the repository README: an alpine image running true and then removed, median of 30 runs, the same docker CLI for all three. Through the Docker Engine API: kiri 2.55 ms, Docker Desktop 213 ms, OrbStack 380 ms. Through the docker CLI: kiri 14.2 ms, Docker Desktop 243 ms, OrbStack 442 ms. The README itself says “around 80 times faster than Docker Desktop” — 213 ÷ 2.55 ≈ 83.5, which checks out. The speed comes from the architecture. The VM uses a custom 10 MB kernel, and its PID 1 is a Rust agent of about 900 KB; starting a container is a single clone3 system call into namespaces and a cgroup — no runc, no shim, no dockerd. Fewer layers in between means faster starts. What you save is not only startup time: the daemon stays at about 15 MB, the VM sleeps after 60 seconds idle (waking takes about 0.15 s), and a memory balloon hands unused memory back to the host while it runs. So it is not only fast to start — it also takes up little room while it waits. Take the numbers with a discount: these are the author's own measurements on their own machine, the method is public in bench/results.json, and you can re-run it on your own machine with kiri bench — different machines and different loads will give different results, so do not treat them as a promise for your machine. But the order of magnitude is the point: 2.55 ms against 213 ms is not a gap a few lines of optimization can close; it comes from the architecture. One more caution: startup time is only one part of the development experience. The README gives no numbers for image pulls, builds, or large bind mounts, so do not invent any.

3. What “free Ngrok alternative” actually means

The first sentence of the repository tagline reads “with free Ngrok alternative”, and it is the easiest line in the whole project to misread. Here is what it actually does: once enabled, every container automatically gets a local domain, http://<name>.kiri.local; Compose services answer at <service>.<project>.kiri.local; a dev.kiri.domain label lets a container pick its own names; and http://<name>.kiri.localhost works with no setup at all. HTTPS works too, using kiri's own certificate authority (kept in ~/.kiri/tls, with name constraints allowing only *.kiri.local and *.kiri.localhost — on macOS you trust it once by hand). The honest correction: it replaces the part of ngrok that gives a local service a memorable domain with HTTPS — not the part that publishes a local service to the public internet. A kiri.local name only resolves on your own machine. If you want to send a link to someone outside your network, kiri cannot do that; that is still a job for ngrok, Cloudflare Tunnel, or a similar tunneling tool. Do not let one line in a tagline mislead you into expecting something it does not do. To be fair, OrbStack has similar local domains with HTTPS (orb.local, according to third-party reviews), so this is not unique to kiri; Docker Desktop has nothing built in here and leaves you to set up your own reverse proxy and certificates. For local development — testing webhooks, OAuth callbacks, or reaching a service on your computer from your phone — this is a feature you use every day. What it saves is the manual work of local domains and certificates, not the tunnel. In one sentence: it solves the dignity problem of local development, not the public sharing problem.

4. Install and first run: three steps

Step one, install. macOS 14 and above (Apple silicon or Intel) takes a .dmg, Windows 10/11 (x86-64 or Arm, through WSL 2) takes an .msi, and Linux (Ubuntu, Fedora, and others) takes a .deb or .rpm — all from runkiri.com/releases. The app is signed with a Developer ID and notarized, and updates check SHA-256 signatures before installing. The first time you open it, it sets up a kiri Docker context for you. Step two, use it. The commands are the ones you already know, with a context added: docker --context kiri run --rm alpine echo hello, and Compose as usual with docker --context kiri compose up -d. If adding the context every time gets old, the docker commands also work as kiri commands (kiri run, kiri ps, kiri compose up), which always target kiri. Images, volumes, and containers from Docker Desktop or OrbStack do not need rebuilding: kiri import brings them over in one step. Step three, notice the two extras that come along. One command starts Kubernetes: 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 — good for testing manifests locally. One command opens a Linux machine: kiri machine create dev --distro ubuntu, then kiri machine shell dev, with your user, sudo, and /Users paths matching the host. The window shows containers, images, volumes, and networks, with Compose projects grouped; close the window and it stays in the menu bar, where one click shows running containers and the VM's state.

5. kiri vs Docker Desktop vs OrbStack: how to choose

The short version, for four kinds of people. First, if you are on a Mac and already happy with OrbStack for personal use: do not switch. kiri is 13 days old with 78 open issues and its features are still moving fast; OrbStack is ahead on polish, and the startup time you would save is not something you are likely to feel. Second, if you use Windows or Linux: OrbStack has no Windows or Linux version, and kiri is the only lightweight option that covers all three platforms; Docker Desktop needs a paid subscription at larger companies, while kiri is free under the Apache-2.0 license — that alone is worth a try. Third, if licensing cost matters for commercial use: any commercial use of OrbStack needs Pro ($8 per user per month, billed annually), and Docker Desktop at larger companies needs a subscription too (Pro from $9 per user per month, annual billing); kiri is completely free with a permissive license. For a ten-person team that difference is close to a thousand dollars a year — provided you accept the maturity of a 13-day-old project. Fourth, if you start and stop containers constantly: CI scripts, test matrices, and rebuild-heavy development loops will feel the difference between 2.55 ms and 213 ms for real; if your containers run for hours at a time, that gap is irrelevant. Two pitfalls to know about. First, docker build --add-host name:host-gateway fails under BuildKit — a limitation of buildx's docker-container driver that Docker's own container builders share; kiri's built-in builder is on the roadmap, and until then you can work around it with the gateway address or DOCKER_BUILDKIT=0. Second, a USB device attached to a container drops off while the Mac sleeps (it re-attaches itself when the Mac wakes), so for unattended long jobs like flashing boards or logging a serial port, keep the Mac awake.

6. Who it fits, who should wait, and sources

Who it fits: anyone who works with containers every day and finds Docker Desktop too heavy; developers on Windows or Linux who want a lightweight runtime; anyone doing local development that needs stable domains with HTTPS (testing webhooks, OAuth callbacks); anyone who wants a k3s cluster or a Linux machine with one command; and anyone who likes open source and does not mind trying a new tool. Who should wait: anyone who just wants stability and no tinkering — this is a 13-day-old project, and its interfaces and behavior are still moving, so waiting a few releases is the safer move; anyone who depends heavily on docker build --add-host host-gateway (known to fail until the built-in builder lands); anyone hoping it replaces ngrok for public sharing (it does no tunneling); and anyone who needs a USB device to stay attached to a container while the Mac sleeps (a known issue). The limits, laid out plainly. First, the project was created November 2, 2026, and the ecosystem is still young: 78 open issues, and some features in the documentation are still marked beta (USB device passthrough, for example). Second, the performance numbers are the author's own measurements on their own machine — the method is public and re-runnable, but results will vary on other machines. Third, Windows runs through WSL 2 rather than natively; on Linux the agent runs directly on the host kernel, and membership in the kiri group is root-equivalent, exactly like the docker group — convenient, but a permission boundary to be aware of. Sources (verified November 15, 2026, Beijing time): 1) https://api.github.com/repos/libracoder/kiri — GitHub repository API (read directly, 17:30): created 2026-11-02T16:11:30Z; 4,376 stars, 209 forks, 78 open issues; Apache-2.0; language Rust; last updated 17:30; about 340 stars a day (4,376 ÷ 12.7 days), fork-to-star ratio about 4.8%; 2) https://api.github.com/repos/libracoder/kiri/releases — GitHub Releases API (read directly): latest v0.2.1 published 2026-11-15T08:32:02Z; v0.2.0 on November 10, v0.1.18 on November 6, v0.1.17 on November 3, v0.1.15 on November 3, v0.1.14 on November 2; six releases in 13 days; 3) https://github.com/libracoder/kiri — repository README (read directly): the tagline and the name's origin (Igbo ntakịrị, “small”); Why Kiri (about 2.5 ms, about 80× faster, daemon about 15 MB, wake-up about 0.15 s, 38 languages); the Numbers table (alpine running true, then removed; median of 30 runs; same docker CLI: API 2.55/213/380 ms, CLI 14.2/243/442 ms); How it works (10 MB kernel, Rust agent of about 900 KB, clone3, no runc/shim/dockerd); the install table; the quick-start commands; 4) https://raw.githubusercontent.com/libracoder/kiri/main/docs/features.md — features documentation (read directly): platforms; the containers, networking, storage, images, builds, and Compose lists; local domains and HTTPS in detail (the CA in ~/.kiri/tls, name constraints allowing only *.kiri.local and *.kiri.localhost); the memory balloon and sleep; Kubernetes (ready in about 20 s); Linux machines; Windows (WSL 2 plus a named pipe); Linux hosts (no VM, kiri group root-equivalent); update checks; known issues (USB devices dropping during sleep, host-gateway failing); 5) Docker Desktop pricing (verified against multiple sources, September–November 2026): free for personal use, education, non-commercial open source, and companies with fewer than 250 employees and under $10 million in annual revenue; Pro $9/user/month (annual billing, $11 monthly), Team $15/$16, Business $24; Docker Desktop is a closed-source commercial application; 6) OrbStack pricing and features (verified against multiple sources, October–November 2026): free for personal non-commercial use; any commercial use needs Pro at $8/user/month ($96 billed annually); closed source; macOS only; built-in single-node Kubernetes; local domains with HTTPS (orb.local, per third-party reviews); 7) Not verified and not written into the article: the repository's download or install counts; how 2.55 ms holds up on other machines; real-world reports of the Windows Arm build; any claim about the “free Ngrok alternative” tagline in a public-sharing scenario. Disclaimer: this site is not affiliated with libracoder, Docker, OrbStack, or any party cited here; Docker, Docker Desktop, OrbStack, Ngrok, Kubernetes, and related names are trademarks of their respective owners. This article is product-technology reporting and analysis, not procurement, deployment, or legal advice. Parameters, specs, and status follow the official pages and the repository and may change; anything not publicly disclosed follows the official pages.

Comparison: kiri vs Docker Desktop vs OrbStack

ItemkiriDocker DesktopOrbStack
Container startup (Docker API, median)2.55 ms213 ms380 ms
Container startup (docker CLI, median)14.2 ms243 ms442 ms
LicenseApache-2.0Closed source (Desktop app)Closed source
PriceFreeFree 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)
PlatformsmacOS 14+, Windows 10/11, LinuxmacOS, Windows, LinuxmacOS 14+ only
Local domains + HTTPSBuilt in (kiri.local, own CA)Not built in (set up your own proxy and certificates)Built in (orb.local)
CLI compatibilitydocker, Compose, and buildx all workNativedocker and Compose work
KubernetesSingle-node k3s with one command (ready in ~20 s)Built-in single-node clusterBuilt-in single-node cluster

Container startup speed (OrbStack = 1×, higher is faster)

★ kiriabout 149×
Docker Desktopabout 1.8×
OrbStack1×

数据来源: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.

© 2026 YuliusWiki. All rights reserved.