Sign inSign up
claude logo

sbx/claude

Verified Publisher
Cloud

By Docker, Inc

•Updated about 2 hours ago

Anthropic Claude Code agent on Docker Hardened Images for Docker Sandboxes

Sandbox Kit
6

100K+

sbx/claude repository overview

Digest

sha256:dcd4e26103ba…

Size

346.8 MB

Schema

v3

Pushed

about 2 hours ago

Specificationspec.yaml

WORKLOAD

Anthropic's Claude Code agent on Docker Hardened Images


Arguments
NameRequiredDefaultDescription
modelOptional

Claude model to use (settings.json `model`); empty keeps the CLI default

reasoningEffortOptional

Effort level (settings.json `effortLevel`); empty keeps the CLI default

Options: , low, medium, high, xhigh, max, auto
versionRequired—

Claude Code release the image carries


Provides[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/ca-certificates@20250419, deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/iputils-ping@20240905, deb/[email protected], deb/less@668, deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected], deb/[email protected]

CapabilitiesExpand a row to see its full configuration. See the full spec for the complete descriptor.
TypeRequiredDescription
com.docker.sandbox/sbx@1Required—
com.docker.sandbox/network-policy@1Required—
com.docker.sandbox/credential@1OptionalAnthropic API access (API key or claude.ai OAuth)
com.docker.sandbox/agent-sessions@1OptionalDrive claude sessions programmatically
com.docker.sandbox/agent-interactive-sessions@1OptionalOpen claude's terminal UI on a chosen session
com.docker.sandbox/lifecycle@1Required—
com.docker.sandbox/agent-skills@1Optional—
com.docker.sandbox/agent-context@1Optional—
com.docker.sandbox/agent-context@2Optional—

Try this kit

Run this in a sandbox (opens in a new tab)
sbx run sbx/claude:latest

Make sure you have docker sbx installed

Run the following command to install sbx on your machine.

macOS
brew install docker/tap/sbx
Windows
winget install Docker.sbx
Learn more about docker sbx⁠

⁠Claude Code for Docker Sandboxes

This v3 workload Kit packages Claude Code⁠ for Docker Sandboxes. It includes the agent and a development environment. Start the workload to use Claude Code in an isolated workspace.

This Kit is built on Docker Hardened Images.

⁠Run

sbx run sbx/claude:latest /path/to/workspace

⁠Kit arguments

Set these arguments when creating the sandbox with --kit-arg <name>=<value>. Repeat the flag for multiple arguments. Use --kit-arg <kit>.<name>=<value> to target one kit in a composition, as in the example below.

ArgumentDefaultDescriptionAccepted values
model""Claude model to use (settings.json model); empty keeps the CLI defaultLetters, digits, ., _, and -.
reasoningEffort""Effort level (settings.json effortLevel); empty keeps the CLI defaultEmpty, low, medium, high, xhigh, max, or auto.

An empty value keeps the agent default. The model must be available to your provider account, and the selected model must support the requested effort or thinking level. These are kit configuration inputs, separate from agent command-line arguments passed after --.

sbx run sbx/claude:latest \
  --kit-arg claude.model=claude-sonnet-4-6 --kit-arg claude.reasoningEffort=high \
  /path/to/workspace

⁠Authentication and configuration

Bind an Anthropic API key on the host with sbx secret set anthropic, or use a Claude subscription through the runtime's OAuth support. With no host credential, Claude Code can prompt for /login inside the sandbox. Host-bound credentials remain proxy-managed.

The sandbox supplies the isolation for agent tool execution. Launch the kit through Docker Sandboxes and configure extra tool or MCP destinations in the runtime network policy as needed.

⁠Source and security

For the Kit format and capability contracts, see the Sandbox Kit v3 specification⁠.

For runtime setup, see the Docker Sandboxes documentation⁠. For provenance, SBOM, VEX, and image verification, see the Docker Hardened Images documentation⁠.

Claude, Claude Code, and Anthropic are trademarks of Anthropic PBC. Product names and logos do not imply sponsorship or endorsement.