claude-sandbox#

Run Claude Code, Codex or Pi in a container with isolated credentials, limited writable paths and a network jail.

On a Linux host with uv and rootless Podman:

uv tool install claude-sandbox
cd ~/src/my-project
claude-sandbox

The launcher creates the container and starts sandboxed Claude. No clone or devcontainer setup is needed. Getting started covers prerequisites, login and verification. Already have a project devcontainer? Install into it.

How the documentation is structured#

Using Claude Code at Diamond Light Source#

DLS developers: start at Claude Code at DLS — the one-page policy summary and getting-started instructions.