surshar / claude-code
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
Built by Anthropic · github.com/anthropics
Use ${devcontainerId} variable to create project-specific volumes,
preventing cross-container data access. This addresses the security
issue where multiple containers could share sensitive data through
named volumes.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
| @@ -38,8 +38,8 @@ | ||
| 38 | 38 | }, |
| 39 | 39 | "remoteUser": "node", |
| 40 | 40 | "mounts": [ |
| 41 | - "source=claude-code-bashhistory,target=/commandhistory,type=volume", | |
| 42 | - "source=claude-code-config,target=/home/node/.claude,type=volume" | |
| 41 | + "source=claude-code-bashhistory-${devcontainerId},target=/commandhistory,type=volume", | |
| 42 | + "source=claude-code-config-${devcontainerId},target=/home/node/.claude,type=volume" | |
| 43 | 43 | ], |
| 44 | 44 | "remoteEnv": { |
| 45 | 45 | "NODE_OPTIONS": "--max-old-space-size=4096", |