runc for Mac
runc is a CLI tool for spawning and running containers on Linux according to the OCI specification.
runc — overview
Introduction
runc is a CLI tool for spawning and running containers on Linux according to the OCI specification.
Releases
You can find official releases of runc on the release page.
All releases are signed by one of the keys listed in the runc.keyring file in the root of this repository.
Security
The reporting process and disclosure communications are outlined here.
Security Audit A third party security audit was performed by Cure53, you can see the full report here.
Building
runc only supports Linux. See the header of go.mod for the minimally required Go version.
Pre-Requisites
Utilities and Libraries
In addition to Go, building runc requires multiple utilities and libraries to be installed on your system.
On Ubuntu/Debian, you can install the required dependencies with:
On CentOS/Fedora, you can install the required dependencies with:
On Alpine Linux, you can install the required dependencies with:
The following dependencies are optional:
libseccomp - only required if you enable seccomp support; to disable, see Build Tags. libpathrs - only required if you enable libpathrs support; to disable, see Build Tags. For notes on installing libpathrs, see the next section.
libpathrs
libpathrs is a Rust library runc can optionally use for path safety. As mentioned in the build tag section, its use is controlled with the libpathrs build tag. runc currently requires at least libpathrs 0.2.5 in order to function properly.
At time of writing, very few distributions have libpathrs packages and so it is usually necessary to build and install it locally. For detailed installation instructions, see the upstream documentation, but for development builds the following instructions should be sufficient:
libpathrs requires Rust 1.63+ (which is available on almost any distribution, including Debian oldstable and enterprise distributions like RHEL or SLES). Assuming you already have cargo installed (as well as other libpathrs dependencies like clang and lld), the following steps are all that are really necessary to install libpathrs:
As part of our CI, we make use of a custom installation script for libpathrs which may be useful as a reference for folks with more complicated needs. With script/build-libpathrs.sh the installation of libpathrs becomes as simple as:
However, please note that this installation script is completely unsupported and is not really intended for general use (it includes some workarounds for issues in our CI which will no longer be necessary once libpathrs has distribution packages we can use).
Build
You can also use go get to install to your GOPATH, assuming that you have a github.com parent folder already created under src:
runc will be installed to /usr/local/sbin/runc on your system.
Version string customization
You can see the runc version by running runc --version. You can append a custom string to the version using the EXTRA_VERSION make variable when building, e.g.:
Details
根据 OCI 规范生成和运行容器的 CLI 工具
How to install runc
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2026-09-25; current version v1.5.2, with the latest 10 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| v1.5.2 | 2026-09-25 | Stable | 230 KB | — | — | — |
| v1.5.1 | 2026-07-14 | Stable | 228 KB | — | — | — |
| v1.5.0 | 2026-06-19 | Stable | 228 KB | — | — | — |
| v1.4.3 | 2026-06-13 | Stable | 670 KB | — | — | — |
| v1.3.6 | 2026-06-13 | Stable | 670 KB | — | — | — |
| v1.4.2 | 2026-04-03 | Stable | 670 KB | — | — | — |
| v1.3.5 | 2026-03-17 | Stable | 670 KB | — | — | — |
| v1.6.0-rc.1 | 2026-10-06 | Pre-release | 230 KB | — | — | — |
| v1.5.0-rc.3 | 2026-06-13 | Pre-release | 211 KB | — | — | — |
| v1.5.0-rc.2 | 2026-04-03 | Pre-release | 211 KB | — | — | — |
Data from GitHub Releases; stable releases first, each group sorted newest first.
Depended on by 3 apps
The following apps install it automatically, ranked by 30-day installs:
- docker-engine1,022 installs/mo
- docker-engine1,022 installs/mo
- buildkitd35 installs/mo
Prebuilt bottle platforms
Official Homebrew bottles cover:
- Linux · ARM64
- Linux · x86_64
⚠️ No prebuilt bottle for Intel Macs; Intel users need brew install --build-from-source to build from source.
Compared with similar apps
Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| runc | v1.5.2 | Apache-2.0 | CLI | 419 |
| dynein | v0.3.0 | Apache-2.0 | CLI | 23 |
| rekor-cli | v1.6.1 | Apache-2.0 | CLI | 61 |
| ocm | v1.0.17 | Apache-2.0 | CLI | 25 |
Similar apps: Command-line Tools
dynein
dynein /daɪ.nɪn/ is a command line interface for Amazon DynamoDB written in Rust.rekor-cli
CLI for interacting with Rekorocm
CLI for the Red Hat OpenShift Cluster Managerroxctl
Table of Contents StackRox Kubernetes Security Platform Table of Contents Community Deploying…kor
Kor - Kubernetes Orphaned Resources Finderkarakeep
Karakeep is a self-hostable open-source bookmark management tool that helps you collect links…Categories: Command-line Tools