Kiri vs Docker Desktop on Windows
A small, honest comparison of Kiri 0.2.1 and Docker Desktop 4.44.2 on one Windows PC: lighter in RAM, CPU and disk, the same behavior in my tests, and what I didn't test.

Kiri is a young container runtime written in Rust. It serves the Docker Engine API, so the normal docker CLI, Compose and buildx work against it. Its home page says it's 8× faster than Docker, with a 22 ms docker run on a Mac. I'm on Windows, so I wanted to know what it looks like on a real Compose stack, and whether a lighter footprint costs anything in reliability.
The short version, on one Windows PC, Kiri used:
- About 45% less VM RAM
- About 10 points less idle CPU
- About 57% less disk (3.0 GB against 7.1 GB, program plus engine disk, after the same workload)
- It started a single container about four times faster
Compose, crash recovery, restart policies, memory limits and Postgres and Redis throughput behaved the same on both. This is a small test that is one PC, mostly single runs.
Kiri 0.2.1 came out two days before I ran this, and the project ships fast, so treat the numbers as a snapshot.
The setup
The host is one Windows 11 PC with an Intel i5-13400F and 31.8 GB of RAM. I compared Docker Desktop 4.44.2 (Engine 28.3.2) with Kiri 0.2.1 (Engine API 27.5.1). The stack is:
- A small Go web app
- Postgres 16
- Redis 7
All started from one Compose file. It's not a big system, but it uses what a normal dev setup uses, that is health checks, depends_on, service DNS, volumes, restart policies, memory limits and an image build.
On Windows, both tools run their engine inside a WSL2 virtual machine (Kiri's docs say the same).
Kiri's main idea on Linux is running with no VM at all, and this test doesn't exercise that. So it's a fair answer to "which one do I want on my laptop" and not an answer to "what should I run on a Linux server."
Here's how I ran it:
- One engine at a time. Docker Desktop first, then I stopped it and started Kiri. They never ran together during a measurement.
- Same inputs. One Compose file and one app image, saved from Docker Desktop and loaded into Kiri. The two engines report different image IDs for it, so I can't prove from the IDs alone that the images are identical.
- Scripted tests. Each test starts from a clean stack, runs the check, and records the raw output and metrics.
- Tools.
hyperfinefor start times,k6for HTTP load,pgbenchandredis-benchmarkfor the databases, and Windows process counters for CPU and RAM. - A durability test. A write loop posts 200 rows at 10 per second. Halfway through, I crash Postgres with
pg_ctl stop -m immediate, which skips the shutdown checkpoint and forces WAL recovery on restart. Afterwards I compare the rows the app acknowledged (HTTP 201) with the rows in the database. An acknowledged row that's missing counts as a failure. - A memory-limit test. The app has a 256 MB limit, and I allocate 1 GB.
- A disk test. I reset both engines to empty first, Docker Desktop with a full reset of its engine, Kiri by removing everything and re-creating its WSL disk file. Then I measured the size of the engine's disk files on Windows at three points, empty, after loading the app image and starting the stack, and after building the app image from source. I also measured the size of each installed program.
- A decision rule. I only call a difference meaningful if it's above 10% on the median, the min-max ranges don't overlap, and the saving is big enough for a person to notice. Most performance numbers come from a single run, so read them as direction.
You can check the repo for testing here kiri-vs-docker-desktop-windows
Compatibility and reliability
| Test | Docker Desktop | Kiri |
|---|---|---|
| Compose up/down/logs/exec, health order, DNS, image build | pass | pass |
| 200 writes, none lost (no failure injected) | 0 missing | 0 missing |
| Postgres crash during writes, then verify | 0 missing, 200 rows | 0 missing, 200 rows |
| Restart policy: app panic / Postgres crash | back in ~2 s / ~6 s | back in ~2 s / ~6 s |
| 1 GB allocation against a 256 MB limit | app killed, restarted once | app killed, restarted once |
| Secret in Windows Event Log | none | none |
The same Compose file, the health-check ordering, service DNS, log options and the image build all worked on Kiri the first time I tried them.
Resources
| Metric | Docker Desktop | Kiri |
|---|---|---|
| Idle CPU, 180 s mean (% of one core) | 11.6 | 1.4 |
RAM of the WSL2 VM (vmmem), idle | 1633 MB | 908 MB |
| RAM of the WSL2 VM, stack running | 1730 MB | 957 MB |
| Engine process RAM on Windows, idle | 794 MB | 47 MB |
The last row looks dramatic (94% lower), but it leaves out the VM. The VM figure is the honest RAM cost, about 45% lower, roughly 0.7 to 0.8 GB on this PC. vmmem is how Windows shows the WSL2 VM. WSL caps it at 50% of host RAM unless .wslconfig says otherwise, and this PC has no .wslconfig, so neither VM was capped.
Speed
| Metric | Docker Desktop | Kiri |
|---|---|---|
docker run --rm alpine true, median | 514 ms | 118 ms |
| Compose stack to healthy, median | 13.6 s | 12.3 s (no meaningful difference) |
k6 mixed /health, /db, /cache, p50 / p95 | 1.0 / 2.6 ms | 0.5 / 1.7 ms |
| Redis SET / GET ops/s | 161,812 / 147,929 | 162,866 / 141,243 (no difference) |
| pgbench read / write tps, median of 5 runs | 62,714 / 1,714 | 63,126 / 1,721 (no difference) |
A single container starts about four times faster on Kiri, but a whole Compose stack doesn't, because the time goes to Postgres and the app becoming healthy, not to the runtime.
Under load
I ramped k6 against GET /health. I called a level stable if p95 stayed under 100 ms with under 1% errors.
| Virtual users | Docker Desktop p95 | Kiri p95 |
|---|---|---|
| 10 | 2.1 ms | 1.3 ms |
| 50 | 6.9 ms | 12.2 ms |
| 100 | 13.1 ms | 25.5 ms |
| 200 | 29.0 ms | 48.2 ms |
| 400 | 68.8 ms | 66.5 ms |
The figures differ might be because the load generator (k6) ran on the same PC as the engine, so they competed for CPU, and the ceiling is probably partly the PC. I wouldn't read much into who's ahead at a given level. But still interesting numbers.
Disk
| Docker Desktop | Kiri | Difference | |
|---|---|---|---|
| Engine disk, empty | 1,464 MB | 108 MB | -1,356 MB |
| Engine disk, app image loaded and stack running (Postgres and Redis pulled) | 2,360 MB | 972 MB | -1,388 MB |
| Engine disk, after building the app image from source (Go toolchain, build cache) | 3,800 MB | 2,796 MB | -1,004 MB |
| Program install | 3,226 MB | 239 MB | -2,987 MB |
| Total after the build, program plus engine disk | 7,123 MB | 3,035 MB | -4,088 MB (-57%) |
- The gap is about 1.4 GB when the engines are empty and when the stack runs, so storing the same images and volumes costs about the same on both. Docker Desktop grew 896 MB from empty to running stack, and Kiri grew 864 MB.
- Docker Desktop's fixed 1.3 GB is its own system images. I looked inside its engine VM. On the data disk, a folder called
isocacheholds two files,docker-desktop.iso(678 MB) anddocker-wsl-cli.iso(626 MB), 1,304 MB together. That matches the empty engine's 1.3 GB. They aren't images, containers, volumes or build cache, sodocker system dfshows 0 B for them anddocker system prunecan't remove them. - That cost may grow on a machine that gets updated. Users report that older copies of these two files stay behind after each Docker Desktop update, adding about 1.5 GB per update, and one report says version 4.76 fixed the retention. I saw one copy of each on this freshly reset 4.44.2 install, so I didn't see the growth myself.
- The build narrows the gap to 1.0 GB. Kiri grew more during the build (+1,824 MB against +1,440 MB). Its build cache sits in a 1.47 GB volume owned by its builder container, while Docker Desktop reports its cache as 1.46 GB under "Build Cache".
- The program itself is 92% smaller, 239 MB against 3.2 GB.
What this test doesn't show
- Linux production. I never ran Kiri's native Linux mode, which is a different configuration from the one I tested.
- Host power loss and reboot. My crash test kills Postgres only and not the entire machine.
- Disk over time. I didn't watch disk use grow over days or across updates, or how well either engine gives space back.
- Statistical confidence. Most numbers come from one run only.
- Benchmark on other heavier workloads. I tested on a small setup (small web-app) and not a super serious app that requires intensive resources.
What I take from it
- Background cost is the real win on Windows, about 0.7 GB less RAM and about 10 points less CPU of one core while idle.
- Kiri also costs less disk on Windows, again in fixed overhead, about 3.0 GB against 7.1 GB program plus engine disk, after the same workload.
- In these HTTP, Redis and Postgres tests, I didn't observe a meaningful throughput difference between the two engines.
Should you use it
Don't make a production decision from this test.
- Kiri on a production Linux server, my evidence doesn't support it, because I never ran it yet.
- Kiri on a Windows developer laptop, reasonable to try. It passed every compatibility and reliability test I ran, and it's lighter. Pin version 0.2.1 and turn off auto-update while you evaluate, keep backups of anything in its volumes, and keep Docker Desktop installed so you can switch back with
docker context use desktop-linux. Expect rough edges while it's beta, such as disk that only comes back after a restart and a silent crash loop when a host port is taken.
What's next: Linux
The comparison that matches production use is on a Linux host, with the same stack and the same rule.
- Docker Engine, installed from Docker's package repository. It runs on the host kernel with no VM, so it's the production baseline.
- Kiri on Linux, installed as a
.debor.rpmwith its systemd service, on the host kernel with no VM.
My hypotheses, untested:
I expect the differences to be smaller than what I observed on Windows because neither runtime needs a VM. However, differences in container lifecycle management, networking, filesystem operations and runtime implementation could still produce meaningful performance differences.
Security is another major area to test. Since both runtimes execute on the host kernel, Kiri needs to demonstrate equivalent security guarantees and isolation behavior to Docker Engine before I'd consider it a production alternative. This includes namespaces, cgroups, seccomp, Linux capabilities, rootless execution and engine socket permissions.
Until that run exists, treat Kiri on Linux as untested.
If you've run Kiri, on Windows or Linux, I'd like to hear your experience!
Cheers!