libracoder

kiri

Kiri is a lightweight container runtime written in Rust that is compatible with the docker CLI, Compose and buildx, positioned as a faster and lighter alternative to Docker Desktop on macOS, Windows and Linux.

v0.2.2
Published at
7d ago
12,407
Stars
6,860
Download
Synced at
3d ago

Latest release

v0.2.2Nov 19, 2026, 10:38 AM
Downloads slow? Switch the source anytime above

README

Project Overview

Docker Desktop starts slowly and uses resources even when idle. Kiri rewrites the runtime in Rust: it still runs your Docker images, and you keep using the familiar docker command, Compose and buildx. Builds are provided for macOS, Windows and Linux, with the goal of shrinking size and startup time rather than inventing a new command set.

How It Works

  • Single daemon: CLI, Compose, buildx and the UI all reach the Kiri daemon through the Docker Engine API
  • Lightweight VM: the daemon manages its own virtual machine and talks to a guest agent over vsock
  • Small kernel: the VM uses a custom kernel of about 10 MB
  • Minimal init: guest PID 1 is a roughly 900 KB Rust agent
  • No middle layer: containers start with a single clone3 into namespaces and a cgroup, with no runc, shim or dockerd

Core Commands

  • Run a container: kiri run -d --name web -p 8080:80 nginx
  • Inspect state: kiri ps lists running containers
  • Orchestration: kiri compose up -d uses your existing Compose files
  • Switch context: docker context use kiri points the docker command at Kiri
  • Start and stop: kiri start restarts the daemon
  • Pick a builder: kiri build-with docker or kiri build-with kiri

Key Features

  • Image management: pull, push, tag, save, load, history, search
  • Build support: docker build and buildx build through BuildKit, which stops when idle
  • Login credentials: reuses the docker login credential store
  • Cross-architecture: runs amd64 images through Rosetta on Apple silicon
  • Local hostnames: containers are reachable at http://<name>.kiri.local
  • Desktop UI: a bundled window for containers and resource usage

Target Audience

  • Developers tired of slow Docker Desktop startup
  • Laptop users who want lower idle overhead
  • Teams needing compatibility with existing docker workflows
  • Rust developers interested in container runtime internals

Quick Start

  1. Download the package for your platform from Releases and install it
  2. Start Kiri and wait for the daemon to be ready
  3. Run docker context use kiri to switch context
  4. Start a test container with kiri run -d -p 8080:80 nginx
  5. Open http://web.kiri.local in a browser to verify

System Requirements

Item Requirement
OS macOS, Windows, Linux
Architecture Apple silicon and x86_64
Installation Official packages
Compatible tools docker CLI, Compose, buildx

Notes

  • Still young: edge-case Docker features may differ
  • VM overhead: first start waits for the VM and kernel to boot
  • Data migration: back up images and volumes before switching from Docker Desktop
  • Apache-2.0 license: redistribution must keep the license and notices

Release history

Sort