# runc

> CLI tool for spawning and running containers according to the OCI specification

Source: https://talira.ai/catalog/runc-mh439p69
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [devops / containers / runtimes](https://talira.ai/categories/devops/containers/runtimes), [devops / containers](https://talira.ai/categories/devops/containers)
- Platforms: linux, cli[^3]
- Licence: Apache-2.0[^4]
- Pricing: Free and open source[^4]
- Free tier: yes[^4]
- Self-hostable: yes[^3]
- Backed by: [Open Container Initiative](https://talira.ai/orgs/open-container-initiative.md)

runc is the Open Container Initiative's command-line tool for spawning and running containers on Linux according to the OCI Runtime Specification: it takes an OCI bundle (a root filesystem and a config.json, which `runc spec` writes as a template) and creates, starts, kills and deletes the container. It's a low-level runtime that higher-level software calls, the default runtime of [containerd](https://talira.ai/catalog/containerd-a68g9gr6.md) among others, and its README recommends [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md) or [Podman](https://talira.ai/catalog/podman-dsk3mjnr.md) unless something rules them out. It supports rootless containers, cgroup v1 and v2 with the systemd cgroup driver, seccomp syscall filtering, AppArmor and SELinux, and checkpoint and restore through CRIU. Releases are signed, Cure53 audited it, and it's Apache-2.0, written in Go.

## Links

- GitHub: https://github.com/opencontainers/runc
- Docs: https://github.com/opencontainers/runc/tree/main/docs

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/runc>[^1]
- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/runc>[^2]

## Problems it solves

- start a container on Linux straight from an OCI bundle without Docker or a daemon
- the low-level OCI runtime that containerd and other engines use to actually create containers
- run a container as an unprivileged user with no root access
- checkpoint a running container and restore it later or on another host
- generate a template OCI runtime config.json and edit it by hand
- apply seccomp syscall filters and cgroup limits to a process I run in a container
- a container runtime to embed in a custom container engine or orchestrator
- use the systemd cgroup driver for containers on a cgroup v2 host

## Features

- implements the OCI Runtime Specification
- runs containers from an OCI bundle: a root filesystem plus config.json
- runc spec writes a template config; --rootless writes one for unprivileged users
- create, start, state, kill and delete lifecycle commands, or run for all of them
- rootless containers
- cgroup v1 and v2, including the systemd cgroup driver
- seccomp syscall filtering through libseccomp (a default build tag)
- AppArmor and SELinux support always built in
- checkpoint and restore through CRIU
- optional libpathrs for path safety
- releases signed with keys in the repository's runc.keyring; third-party security audit by Cure53

## Limitations

- Doesn't run on macOS or Windows: runc only supports Linux[^3]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.32 out of 1.
Signals: backing 0.30, extensibility 0.20.

- backed by Open Container Initiative

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [youki](https://talira.ai/catalog/youki-mcw3hdef.md): A container runtime written in Rust
- [crun](https://talira.ai/catalog/crun-bkgs01e8.md): A fast and lightweight fully featured OCI runtime and C library for running containers
- [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
- [containerd](https://talira.ai/catalog/containerd-a68g9gr6.md): An industry-standard container runtime with an emphasis on simplicity, robustness and portability
- [CRI-O](https://talira.ai/catalog/cri-o-r47bfc1z.md): Lightweight Container Runtime for Kubernetes

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 21 Nov 2026)
[^3]: https://github.com/opencontainers/runc (checked 20 Nov 2026)
[^4]: https://github.com/opencontainers/runc/blob/main/LICENSE (checked 20 Nov 2026)
