Choose a sandbox environment changedsandbox-environments
Upstream edited this page at 28 Nov 2026 19:16 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 28 Nov 2026 19:37 UTC.
Upstream edited
Recorded here
Lines+1added
Lines−1removed
From line
140
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits24to this page, all time
The whole hunk
from line 140, old and new numbered
/
from line 140
140140
141141A dev container runs Claude Code inside a Docker container that VS Code or a compatible editor manages, with your project mounted in. You can define your own with a `.devcontainer/` directory in your repository.
142142
143The claude-code repository publishes an [example dev container](https://code.claude.com/docs/en/devcontainer.md) with a default-deny iptables firewall as a starting point. Copy it into your repository and adjust the firewall allowlist, base image, and pinned Claude Code version to fit your environment. Because the firewall blocks unapproved egress, a configuration like this supports running Claude Code with `--dangerously-skip-permissions` for unattended work.
143The claude-code repository publishes an [example dev container](https://code.claude.com/docs/en/devcontainer.md) with a default-deny iptables firewall as a starting point. Copy it into your repository and adjust the firewall allowlist, base image, and pinned Claude Code version to fit your environment.
144144
145145## Custom container
146146
No line in this hunk matches that.