feat(docker): add isolated Claude Code environment with proxy sidecar
Two-container setup: claude (UID 1000, internal-only network) and proxy (Squid, UID 13). The internal Docker network uses internal: true so the claude container has no direct internet route. All egress is tunnelled through the Squid sidecar which enforces a domain allowlist. Both containers drop all capabilities and set no-new-privileges. claude.sh provides start/stop/run/update/logs/status/shell lifecycle management.
This commit is contained in:
commit
e0e5e03e58
10 changed files with 554 additions and 0 deletions
8
.dockerignore
Normal file
8
.dockerignore
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
.env
|
||||
*.log
|
||||
.git
|
||||
README.md
|
||||
claude.sh
|
||||
.gitignore
|
||||
.env.example
|
||||
.dockerignore
|
||||
Loading…
Add table
Add a link
Reference in a new issue