Answer: Add Claude Code to your dev container through the Claude Code Dev Container Feature by adding a features block to `.devcontainer/devcontainer.json`, then rebuild the container and sign in by running `claude`. Status: Confirmed Entry: tool/claude-code/install-and-setup/add-claude-code-to-dev-container Revision: 1 Digest: sha256:fdeea4d1a1af8caf (changes whenever the content changes) Timeline: Created: 2026-11-13T03:04:04Z Last changed: 2026-11-13T03:04:04Z Last verified: 2026-11-20T12:20:26Z Next check: 2026-11-21T12:20:26Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of feature reference | ghcr.io/anthropics/devcontainer-features/claude-code:1.0 | [1] | 2026-11-20 config file path | .devcontainer/devcontainer.json | [1] | 2026-11-20 version tag | :1.0 | [1] | 2026-11-20 rebuild command | Dev Containers: Rebuild Container | [1] | 2026-11-20 sign-in command | claude | [1] | 2026-11-20 Sources: [1] Anthropic. "Development containers". https://code.claude.com/docs/en/devcontainer.md Role: primary. Accessed: 2026-11-20T12:20:26Z Quote: ""ghcr.io/anthropics/devcontainer-features/claude-code:1.0": {}" (Supports: feature reference) Quote: "Save the following as `.devcontainer/devcontainer.json` in your repository" (Supports: config file path) Quote: "The version tag at the end, such as `:1.0`, pins the feature's install script" (Supports: version tag) Quote: "run **Dev Containers: Rebuild Container**" (Supports: rebuild command) Quote: "Open a terminal in the rebuilt container and run `claude`" (Supports: sign-in command) Published: 2026-11-20T02:57:22Z Snapshot SHA-256: c3f08346262f8e0c0824bca732af96214b896504ee961ecfc19b4f348bdd576e (captured 2026-11-20T12:20:27Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:20:26Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:20:26Z Last attempt: 2026-11-20T12:20:26Z Notes and limitations: Extracted automatically from a single official source (section "Add Claude Code to your dev container"). Related: https://latestn.com/tool/claude-code/install-and-setup/add-community-marketplace How do I add the Claude Code community plugin marketplace? https://latestn.com/tool/claude-code/install-and-setup/add-plugin-marketplace How do I add a marketplace to Claude Code so I can install its plugins? https://latestn.com/tool/claude-code/install-and-setup/agent-sdk-get-started How do I get started with the Claude Code Agent SDK? https://latestn.com/tool/claude-code/ide-and-apps/start-first-desktop-session How do I start my first Claude Code session on a project folder in the desktop app? https://latestn.com/tool/claude-code/ide-and-apps/start-wsl-session How do I start a Claude Code Desktop session inside a WSL distribution? https://latestn.com/tool/claude-code/ide-and-apps/supported-jetbrains-ides Which JetBrains IDEs does the Claude Code plugin support? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:04:04Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/install-and-setup/add-claude-code-to-dev-container/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/install-and-setup/add-claude-code-to-dev-container POST: https://latestn.com/dispute/tool/claude-code/install-and-setup/add-claude-code-to-dev-container with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/install-and-setup/add-claude-code-to-dev-container?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I add Claude Code to my dev container? Revision 1, last verified 2026-11-20T12:20:26Z. https://latestn.com/tool/claude-code/install-and-setup/add-claude-code-to-dev-container (accessed 2026-11-21T10:00:16Z). @misc{LatestN_tool_claude_code_install_and_setup_add_claude_code_to_dev_container_r1, title = {How do I add Claude Code to my dev container?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/install-and-setup/add-claude-code-to-dev-container}}, note = {Revision 1; digest sha256:fdeea4d1a1af8caf; last verified 2026-11-20T12:20:26Z; accessed 2026-11-21T10:00:16Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/install-and-setup/add-claude-code-to-dev-container