tintinweb

Claude Code Container — DevOps skill for Claude Code

DevOps community intermediate

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

How to install Claude Code Container

This entry records only its repository, not the path inside it, so there is no exact command to give. Open tintinweb/claude-code-container and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Code Container does

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

Alternatives in DevOps

  • Docker 71.9k ★
  • Skill Claw — OpenClaw instance administration — manage hosts across macOS, Ubuntu/Debian, Docker, OCI, and Proxmox 2.8k ★
  • Project Scan — 扫描项目生成配置(CLAUDE.md/restart.sh/ignore/Docker) 1k ★

README

Claude Code Container

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

https://github.com/user-attachments/assets/81c731d9-caeb-48cf-aa3e-65a48c55519e

Build the docker container and execute `run_claude.sh` to run an isolated version of claude code with access to the current working dir (`readOnly:/workspace/input`).

/workspace/
├── input/              # Host input files (read-only mount of $PWD)
├── output/             # Analysis results (writable mount to host)
├── data/               # Reference data (optional read-only mount)
├── temp/               # Temporary files (tmpfs mount)
├── .claude/            # Claude Code project settings
│   └── settings.local.json
└── mcp-servers/        # MCP server installations

Variants

1. claude-standalone

Basic Claude Code container without any MCP servers configured. Clean, simple setup.

2. claude-with-mcp-example

Claude Code container with MCP servers pre-configured (e.g., Chonky Security Tools). Shows how to add MCP servers, configure them, and auto-trust their execution.

Quick Start

Prerequisites

  1. Claude Code License: Ensure you have a valid Claude Code license
  2. OAuth Token: Set your Claude Code OAuth token
  3. Docker: Docker must be installed and running

Build and Run

# Clone this repository
git clone 
cd claude-code-container

# For standalone version
cd claude-standalone
./build.sh
CLAUDE_CODE_OAUTH_TOKEN=sk-... ./run_claude.sh

# For MCP example version  
cd claude-with-mcp-example
./build.sh
CLAUDE_CODE_OAUTH_TOKEN=sk-... ./run_claude.sh

# Pass additional Claude options
CLAUDE_CODE_OAUTH_TOKEN=sk-... ./run_claude.sh --debug --mcp-debug

Environment Variables

  • CLAUDE_CODE_OAUTH_TOKEN: Your Claude Code OAuth token (required)

Run `claude setup-token`, login, save the resulting `sk-*` token.

Security Features

Container Security

...