Skip to content

Commit 369b395

Browse files
dguidoclaude
andauthored
Add bubblewrap and socat for Claude Code sandboxing (#9)
These packages are required for Claude Code's native sandboxing on Linux: - bubblewrap: Provides filesystem isolation via Linux namespaces - socat: Enables the network proxy for domain filtering Without these, the /sandbox command shows installation instructions instead of enabling sandbox mode. Ref: https://code.claude.com/docs/en/sandboxing Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent fefdf3f commit 369b395

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
99

1010
# Install additional system packages (base image already includes git, curl, sudo, etc.)
1111
RUN apt-get update && apt-get install -y --no-install-recommends \
12+
# Sandboxing support for Claude Code
13+
bubblewrap \
14+
socat \
1215
# Modern CLI tools
1316
fzf \
1417
ripgrep \

0 commit comments

Comments
 (0)