Spawns and runs OCI format containers on Linux. Higher-level engines like Docker or Podman invoke it rather than most end users.
Overview
Runc is a command-line tool for creating and running containers on Linux according to the Open Container Initiative runtime specification. It operates on OCI bundles: a root filesystem plus a config.json spec describing process, namespaces, cgroups, and related settings.
Runc serves as a low-level building block consumed by container platforms rather than a daily driver for casual users. You can generate a starter spec with runc spec, edit the JSON, then create, start, and delete containers through lifecycle commands or the convenience run subcommand.
Optional build tags add seccomp filtering and libpathrs path hardening. Runc supports rootless execution when user namespaces are enabled in the kernel, with distribution-specific sysctl notes in the docs. Checkpoint and restore can be compiled out, and supervisors such as systemd can restart container processes on exit.
Official releases are published with signed artifacts. Security reporting and prior third-party audit information are documented for the project. Development and execution target Linux only.
Key features
- OCI bundle runtime lifecycle
- Spec template generation
- Rootless container mode
- Optional seccomp support
- systemd unit integration
- Configurable build feature tags
- Signed release binaries
- Low-level create start delete API
Use cases
- Embedding in custom container platforms
- Running OCI bundles on bare Linux
- Testing OCI runtime conformance
- Rootless experimentation on desktops
- Integrating with process supervisors