Hasty Briefsbeta

Docker container for running Claude Code in "dangerously skip permissions" mode

5 days ago
  • #Claude Code
  • #Docker
  • #MCP Servers
  • Docker container setup for running Claude Code in 'dangerously skip permissions' mode.
  • Directory structure includes /workspace/input (read-only), /workspace/output (writable), /workspace/data (optional read-only), /workspace/temp (tmpfs), and .claude/ for settings.
  • Two container versions: basic (no MCP servers) and pre-configured (with MCP servers like Chonky Security Tools).
  • Requirements: Valid Claude Code license, OAuth token, and Docker installed.
  • Build and run instructions for both standalone and MCP example versions.
  • Security features: Non-root execution, capability dropping, process limits, tmpfs mounts, network isolation, and security options.
  • MCP server integration steps: Copy MCP to build context, update Dockerfile, configure in claude-config.json, and build/run.
  • Example MCP configuration provided for reference.
  • Debugging options include --debug and --mcp-debug flags, and access to container shell via debug-shell.sh.
  • Project licensed under Claude Code's terms.