unContainer

Get started

Install unContainer

Install the CLI with one command, then add the agent skill to the projects where Codex or Claude Code should use it.

Requirements

  • macOS ARM64, or Linux ARM64 with glibc.
  • tar on the host. Git enables worktree and branch detection.
  • Network access on the host the first time each guest image is used.
  • Optional: mkcert for local HTTPS.

Install the CLI

curl -fsSL https://uncontainer.dev/install | sh

The installer verifies the release archive against its SHA-256 checksum and installs uncontainer in ~/.local/bin. Add that directory to your PATH if your shell doesn’t already include it. For manual downloads, use GitHub Releases. To upgrade later, run uncontainer update; see Update.

Check the install

uncontainer run -- uname -m
aarch64

The first run downloads the Debian guest image and caches it. Later runs start from the cache, offline included. Alpine and the optional debian:docker image are downloaded the first time you select them.

Add the agent skill

The skill teaches Codex and Claude Code when to use a fresh run, when to keep a session, and to close what they open. From your project root:

npx skills add iddar/uncontainer

To select both agents without prompts:

npx skills add iddar/uncontainer --skill uncontainer -a codex claude-code -y
Agent sandboxes. Persistent sessions need the agent’s sandbox to allow writes to the session registry and listening on a local Unix socket. A read-only sandbox can still pass a one-off run with a cached image, but cannot open sessions.

Build from source

To build or contribute, see the build guide ↗.