# youki

> A container runtime written in Rust

Source: https://talira.ai/catalog/youki-mcw3hdef
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Library
- Categories: [devops / containers / runtimes](https://talira.ai/categories/devops/containers/runtimes), [devops / containers](https://talira.ai/categories/devops/containers), [languages / rust](https://talira.ai/categories/languages/rust)
- Platforms: linux, cli[^1][^2]
- Licence: Apache-2.0[^3]
- Pricing: Free and open source[^3]
- Free tier: yes[^3]
- Self-hostable: yes[^1]
- Backed by: [Cloud Native Computing Foundation](https://talira.ai/orgs/cncf.md)
- Funding: non-profit[^4][^5]

youki is an implementation of the OCI runtime specification in Rust, a drop-in low-level runtime like [runc](https://talira.ai/catalog/runc-mh439p69.md) that [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md) and other engines can call to create containers. Its authors chose Rust for memory safety and for easier handling of the system calls a runtime needs, and its README benchmark has it creating and deleting a container in about half runc's time ([crun](https://talira.ai/catalog/crun-bkgs01e8.md) is faster still). It supports rootless containers, cgroup v1, v2 and systemd through its libcgroups crate, and can run WebAssembly workloads when built with WasmEdge, Wasmer or Wasmtime. Its libcontainer crate is used by other projects, including the runwasi [containerd](https://talira.ai/catalog/containerd-a68g9gr6.md) shim; it's a CNCF sandbox project under Apache-2.0.

## Links

- Website: https://youki-dev.github.io/youki/
- GitHub: https://github.com/youki-dev/youki
- Docs: https://youki-dev.github.io/youki/

## Problems it solves

- a memory-safe replacement for runc as Docker's low-level container runtime
- create and run containers from an OCI bundle with a runtime written in Rust
- build my own container engine in Rust using a library that creates and manages containers
- run WebAssembly workloads as containers with WasmEdge, Wasmer or Wasmtime
- run rootless containers as a normal user from an OCI config
- a container runtime that starts containers faster and uses less memory than runc
- manage cgroups v1 and v2 from Rust code
- parse OCI runtime CLI arguments the same way runc does in my own Rust runtime
- a static musl binary of a container runtime that needs no extra libraries

## Features

- implements the OCI runtime specification, like runc
- rootless mode; youki spec --rootless writes a rootless config
- cgroup v1, hybrid and v2 managers plus systemd support in libcgroups
- WebAssembly support built in with the wasm-wasmedge, wasm-wasmer or wasm-wasmtime feature
- libcontainer crate for creating and managing containers, with AppArmor, capabilities, namespaces, rootfs and seccomp modules
- liboci-cli crate for runc-compatible command-line parsing
- static musl release binaries
- works as a Docker runtime through daemon.json
- passes containerd's end-to-end tests, per its README

## Limitations

- Doesn't run on macOS or Windows: youki only supports Linux, so other platforms need a Linux VM such as its Vagrant setup[^1][^2]
- Doesn't work without systemd: youki needs a systemd-based Linux system for now[^1]

## Capabilities

- Has a command line tool: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.50 out of 1.
Signals: backing 0.75, extensibility 0.20.

- backed by Cloud Native Computing Foundation
- funding: non-profit
- used by runwasi, SpinKube, rk8s

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [Docker Engine](https://talira.ai/catalog/docker-engine-9442r3nw.md)

## Alternatives

- [runc](https://talira.ai/catalog/runc-mh439p69.md): CLI tool for spawning and running containers according to the OCI specification
- [crun](https://talira.ai/catalog/crun-bkgs01e8.md): A fast and lightweight fully featured OCI runtime and C library for running containers
- [CRI-O](https://talira.ai/catalog/cri-o-r47bfc1z.md): Lightweight Container Runtime for Kubernetes
- [gVisor](https://talira.ai/catalog/gvisor-5eztscjg.md): Application Kernel for Containers
- [Kata Containers](https://talira.ai/catalog/kata-containers-kng7j1zw.md): The speed of containers, the security of VMs

## Sources

[^1]: https://youki-dev.github.io/youki/user/basic_setup.html (checked 20 Nov 2026)
[^2]: https://github.com/youki-dev/youki/blob/main/README.md (checked 20 Nov 2026)
[^3]: https://github.com/youki-dev/youki/blob/main/LICENSE (checked 20 Nov 2026)
[^4]: https://www.cncf.io/about/charter/ (checked 20 Nov 2026)
[^5]: https://www.cncf.io/ (checked 20 Nov 2026)
