Kiri: A Lightweight Rust-Based Container Runtime for Developers
GitHub Open Source
Kiri runs containers with a 2.5ms start time, replacing heavy Docker Desktop with a 15MB Rust-based daemon.
Repository snapshot
- Repository: libracoder/kiri
- Language: Rust
- License: Apache-2.0
- Stars: 11 685
- Forks: 547
Daily open-source picks: GitHub Open Source on Telegram
What it is
Kiri is a container runtime written in Rust designed to be a drop-in replacement for Docker Desktop. It implements the Docker Engine API, meaning your existing docker CLI, Compose files, and build scripts continue to work without modification. Instead of running a heavy, persistent VM in the background, Kiri uses a lightweight architecture that keeps the daemon footprint around 15MB and puts the VM to sleep after 60 seconds of inactivity.
Why it matters
For many developers, Docker Desktop has become a resource hog. It consumes significant memory even when idle and often suffers from slow startup times. Kiri addresses this by prioritizing efficiency. By waking up in about 0.15 seconds and keeping the daemon small, it removes the friction of waiting for your container environment to be ready. It also adds quality-of-life features like automatic local domains with HTTPS and built-in Kubernetes support, making it a practical tool for local development.
Key features
- Fast Startup: Containers start in approximately 2.5ms via the Docker API.
- Resource Efficient: The daemon stays at ~15MB and sleeps when idle to save battery.
- Local Domains: Automatically generates
http://<name>.kiri.localfor containers and Compose services, complete with HTTPS. - Kubernetes Ready: Includes a single-node k3s cluster accessible via
kiri k8s. - Easy Migration: Use
kiri importto bring your existing images, volumes, and containers over from Docker Desktop or OrbStack.
Quick start
First, install Kiri via your package manager or the website. Once installed, you can immediately start using it with your existing Docker commands:
docker --context kiri run --rm alpine echo helloYou can also use the kiri CLI directly for advanced features:
kiri compose up -d
kiri k8s startWho should try it
Kiri is ideal for developers who are frustrated by the resource usage of Docker Desktop but rely on the Docker ecosystem. If you are working on a laptop where battery life and memory are at a premium, or if you simply want a faster feedback loop when spinning up containers, this is a strong candidate.
Verdict
Kiri is a mature, performant alternative to the standard Docker Desktop experience. It is well-suited for daily development tasks and offers a noticeable improvement in startup speed and resource management. While it handles most standard use cases, as with any container runtime switch, you should verify that your specific volume mount configurations and networking setups are supported before making it your primary environment.
Continue exploring
Get the next pick in Telegram: Follow GitHub Open Source
Curated from the repository README and metadata. No hands-on test is claimed; evaluate it in a sandbox before production use.