Quick Start — Run Claude Code in Docker
This guide gets you from a fresh install to an interactive Claude session in your project.
1. Run the wizard
Section titled “1. Run the wizard”ccpod initThe wizard first asks which mode you want:
- Quick — auth only, sensible defaults for everything else. Done in ~3 steps.
- Full — also configures network policy, session state, SSH, and Docker image.
Both modes:
- Detect your container runtime (Docker / OrbStack / Colima / Podman)
- Ask for your auth method — detected options are offered first: host Claude Code OAuth (macOS Keychain),
ANTHROPIC_API_KEYif set in your environment, or auth copied from an existing profile - Create a
defaultprofile at~/.ccpod/profiles/default/profile.yml
The base image is pulled automatically on first ccpod run.
You can re-run ccpod init later to add another profile.
2. Start a session
Section titled “2. Start a session”cd path/to/your/projectccpod runThe current directory is mounted at /workspace inside the container. Claude starts there. Exit the session and the container shuts down (state is wiped unless your profile sets state: persistent).
Tip: If you skip
ccpod init, runningccpod runfrom any directory automatically launches the wizard when nodefaultprofile exists.
3. Use a different profile
Section titled “3. Use a different profile”ccpod run --profile teamOr pin a profile to a project by adding .ccpod.yml:
profile: teamccpod walks up from $PWD to find this file, so any subdirectory of the repo works.
4. Headless mode
Section titled “4. Headless mode”Pipe a prompt file and exit with the container’s status code:
ccpod run --file prompt.txtUseful in CI for “review this diff” or “summarize these docs” automations.
What’s next
Section titled “What’s next”- Profiles — the unit of portability.
- Project config — overlay a profile per repo.
- State persistence — keep history between sessions.
- CLI reference — every command and flag.