spacehub

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

Merge pull request #3310 from ddworken/mainBrowse files
Isolate devcontainer mounts using ${devcontainerId}
Robert Boyce authored on Jul 10, 2025 · GitHub committed on Jul 10, 2025 parents ff15c6f + 33e37bd · commit 54a4ed0f5e41
1 changed file+2 -2compared with ff15c6f
M.devcontainer/devcontainer.json
@@ -38,8 +38,8 @@
3838 },
3939 "remoteUser": "node",
4040 "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"
4343 ],
4444 "remoteEnv": {
4545 "NODE_OPTIONS": "--max-old-space-size=4096",