123DevOps··8 min read

Have you heard of Kiri? The lightweight Docker Desktop alternative (Mac, Windows, and Linux)

What Kiri is, how it runs containers with a small VM and a single Rust daemon, how to install it, first commands, local names, Kiri Share, Kubernetes, and an honest comparison with Docker Desktop, OrbStack, Colima, Podman Desktop, and Rancher Desktop.

Containers

If you’ve ever opened your laptop, started Docker Desktop, and waited for the whale to stop “thinking” while the fan took off, this article is for you. Kiri is a new project that promises to run the same containers, with the same docker commands, using far fewer resources. Let’s look at what it is, how it works under the hood, and where caution is still needed.

What Kiri is

Kiri describes itself as “the modern container runtime”: a small, fast container runtime for macOS, Windows, and Linux, positioned as a lightweight alternative to Docker Desktop. A few basic facts:

  • It is open source, under the Apache-2.0 license, and written in Rust.
  • It is free and in beta (version 0.x at the time of writing — check the current version on the official site).
  • The name comes from the Igbo word ntakịrị, which means “small.”

Besides the container engine, it ships a native app (AppKit/WebKit on Mac, Win32/WebView2 on Windows — no Electron) with per-container pages for logs, shell, and files, image search and pull, builds through BuildKit, image vulnerability scanning, and a UI in 15 languages, including Brazilian Portuguese.

Why it exists

Docker Desktop is full-featured, but many people find it heavy: it uses memory even when idle, takes a while to start, and larger companies have their own licensing rules to deal with. Alternatives like OrbStack, Colima, and Podman Desktop appeared precisely to tackle these issues. Kiri joins the race with an architectural bet: fewer layers between your command and the container.

How it works under the hood

First, two concepts. A container is just an isolated Linux process using namespaces (which limit what the process can see: other processes, network, filesystem) and controlled by cgroups (which limit how much CPU and memory it consumes). Since macOS and Windows don’t have a Linux kernel, every tool of this kind needs a Linux virtual machine (VM) on those systems.

The difference is in what runs inside that VM:

Traditional chain (Docker Engine)
docker CLI ──► dockerd ──► containerd ──► containerd-shim ──► runc ──► container

Kiri (macOS)
docker CLI ──(vsock channel)──► Kiri daemon in Rust, inside a small VM
                                 └─► creates namespaces, cgroups, and mounts ──► container

In the traditional model, each layer has a role (runc, for example, is the low-level runtime that actually creates the container). Kiri replaces that chain with a single daemon that does the work directly, with its own minimal init (kiri-init). Communication between the Mac and the VM goes through a single vsock channel, a type of socket designed for host-to-VM communication.

On Mac, Linux, and Windows

System How Kiri runs
macOS A small Linux VM using Apple’s Virtualization framework
Linux Directly on your kernel, no VM, as a systemd service
Windows Engine inside WSL 2; Docker API exposed on a named pipe (beta build)

According to the project itself, the daemon takes about 15 MB, the VM “sleeps” after roughly 60 seconds idle, wakes up in about 0.15 s, and returns unused memory to the host. These are vendor numbers — measure them in your own environment. If WSL is new to you, see what is WSL.

Compatibility with the Docker ecosystem

The idea is not to change your workflow. Kiri is compatible with the docker CLI, Docker Compose, buildx, the Docker Engine API, Dockerfiles, and OCI images from Docker Hub, ghcr.io, and other registries. On first launch, it creates a Docker context called kiri and ships its own docker, compose, and buildx binaries. On Apple silicon Macs, amd64 images run via Rosetta, and you can migrate images, volumes, and containers from OrbStack or Docker Desktop. If you’re just getting started, read what is Docker first.

Installation

# macOS (14 or later) via Homebrew — or download the .dmg from the official site
brew install --cask libracoder/kiri/kiri

# Linux: download the .deb or .rpm (x86-64 or Arm) from the official site and install it
sudo apt install ./kiri*.deb     # Debian/Ubuntu
sudo dnf install ./kiri*.rpm     # Fedora/RHEL

On Windows 10/11 (x64 or Arm), use the .msi installer; it relies on WSL 2.

First commands

# list the available contexts; "kiri" should show up
docker context ls

# run a container on Kiri without changing your default context
docker --context kiri run --rm alpine echo hello

# or make Kiri the default and use docker as usual
docker context use kiri
docker run --rm hello-world

# the native CLI has "twins" of the docker commands
kiri run --rm alpine echo kiri
kiri ps

To switch back to your previous engine, just run docker context use default (or the name of the context you were using).

Local names and HTTPS

Every container answers at <name>.kiri.localhost — no more memorizing ports. In Compose projects, the name combines service and project, as in api.myapp.kiri.localhost. On Mac, there are also .kiri.local names with HTTPS, signed by Kiri’s own certificate authority (CA), which is limited to Kiri’s names.

docker run -d --name web nginx
# according to the documentation, the container is reachable at:
# http://web.kiri.localhost

Kiri Share: your app on a public URL

kiri share does something similar to ngrok: it publishes a container or a local port on a public HTTPS URL at <name>.runkiri.cloud. The first visit shows a Kiri warning page (to make phishing harder), and you can reserve a name.

kiri share web     # by container name
kiri share 3000    # or by port

Warning: this exposes your machine to the internet. Never share applications with real data, credentials, or admin panels, and stop sharing as soon as the demo is over.

Kubernetes and Linux machines

# local Kubernetes cluster based on k3s (about 20 s, according to the site)
kiri k8s start

# a full Linux machine, with your user and your home folder
kiri machine create dev --distro ubuntu

Once the cluster is up, check the context it created with kubectl config get-contexts. To compare with kind, k3d, and minikube, see lightweight local Kubernetes.

Comparison with the alternatives

Tool Systems License GUI Local Kubernetes Maturity
Kiri macOS, Windows, Linux Open source (Apache-2.0) Yes, native Yes (k3s) Beta (0.x)
Docker Desktop macOS, Windows, Linux Proprietary; paid subscription for larger companies Yes Yes Mature
OrbStack macOS only Proprietary; free for personal use Yes Yes Mature
Colima macOS, Linux Open source No (CLI only) Yes (k3s) Mature
Podman Desktop macOS, Windows, Linux Open source Yes Via kind or Minikube Mature
Rancher Desktop macOS, Windows, Linux Open source Yes Yes (k3s) Mature

License and pricing rules change: always confirm on the official sites. To understand the open alternatives, see what is Podman and what is Rancher, which also covers Rancher Desktop.

What about performance?

According to the project’s own benchmarks — run on a single Apple silicon Mac, with each engine limited to 2 CPUs and 8 GB of memory — the median time for docker run --rm alpine true was:

  • Kiri: ~22 ms
  • Colima: ~152 ms
  • Docker Desktop: ~178 ms
  • OrbStack: ~279 ms

These are vendor-published numbers, not independently verified. In real projects, build time, volume I/O, and networking matter much more than the time it takes to start an empty container. Run your own tests with your own docker compose up before drawing conclusions.

Things to consider before adopting it

  • It’s beta. 0.x versions may have rough edges, behavior changes, and bugs; the app itself has a Feedback button for that.
  • Evaluate before making it the standard for the whole team. Test your team’s real projects, including multi-platform builds, volumes, and IDE integration.
  • Keep a way back. Since everything goes through Docker contexts, switching to another engine is easy — keep that documented.
  • Security and company policy. Review the license, Kiri Share, and the local CA as you would with any new tool.

Checklist

  • Install Kiri and confirm the kiri context with docker context ls
  • Run docker --context kiri run --rm alpine echo hello
  • Test a real project with docker compose up and compare with your current engine
  • Measure time and memory in your own environment instead of relying only on benchmarks
  • Use Kiri Share only with demo apps, never with real data
  • Document how to switch back to the previous context before adopting it team-wide

A lightweight tool is great, but a good decision comes from your own test, not from somebody else’s chart.

Get updates on new posts and stay in the loop!