CLI Reference
ccpod is a single binary. All commands accept --help.
ccpod run
Section titled “ccpod run”Start an interactive Claude session in the current directory (mounted at /workspace).
ccpod run # interactive session, default profileccpod run "fix all lint errors" # headless: inline prompt textccpod run --file prompt.txt # headless: prompt from fileccpod run --profile team # use a specific profileccpod run --env KEY=VALUE # set/override an env var (repeatable)ccpod run --rebuild # force image rebuild or repullccpod run --no-state # force ephemeral state for this runccpod run -- --dangerously-skip-permissions # pass flags directly to claude--file and an inline prompt are mutually exclusive. --file paths are normalized; absolute paths and .. traversals are rejected.
Everything after -- is forwarded verbatim to the claude command inside the container and appended after any claudeArgs declared in the profile or project config.
ccpod init
Section titled “ccpod init”First-run wizard. Detects the container runtime, asks for auth method, creates the default profile, and pulls the base image.
ccpod initRe-run later to add another profile via the wizard.
Profile commands
Section titled “Profile commands”ccpod profile create <name> # interactive createccpod profile list # show all profilesccpod profile update <name> # force-pull git config (resets sync lock)ccpod profile delete <name> # delete profile + its credential dirPlugin commands
Section titled “Plugin commands”ccpod plugins list [profile] # list installed plugins in a profile's volumeccpod plugins update [profile] # flush + reinstall every declared pluginupdate is destructive to the volume — use it when a plugin is broken or you want a clean slate.
Image commands
Section titled “Image commands”ccpod image init [profile] # download Dockerfile into profile dir for customizationccpod image build [profile] # build from profile's dockerfileccpod image pull [profile] # pull (or update) the profile's imageccpod image init downloads the official ccpod Dockerfile to ~/.ccpod/profiles/<profile>/Dockerfile and sets image.dockerfile in profile.yml. Use --from <url> to download from a custom URL instead. After editing the Dockerfile, run ccpod image build --apply to build and activate it.
Lifecycle commands
Section titled “Lifecycle commands”ccpod ps # list running ccpod containers (any profile/project)ccpod down # stop Claude container + sidecars for $PWDccpod state clear [profile] # delete persistent state directory (~/.ccpod/state/<profile>/)ccpod down matches by ccpod.project=sha256($PWD) label. Run it from the project directory.
Config commands
Section titled “Config commands”ccpod config show # print resolved merged ResolvedConfigccpod config validate # validate .ccpod.yml + profile without runningGlobal flags
Section titled “Global flags”| Flag | Effect |
|---|---|
--help | Show help for the command. |
--version | Print ccpod version. |
Environment variables
Section titled “Environment variables”| Var | Purpose |
|---|---|
DOCKER_SOCKET_PATH | Override the auto-detected runtime socket. Useful for non-standard setups and tests. |
CCPOD_TEST_DIR | Used by tests to redirect ~/.ccpod to a temp dir. |
Anything in your profile’s env: list | Forwarded into the container. |