Docker Claude Skill — DevOps skill for Claude Code
Claude Code skill for container-based development with Docker.
How to install Docker Claude Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open wrsmith108/docker-claude-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Docker Claude Skill does
Claude Code skill for container-based development with Docker.
Alternatives in DevOps
- Docker 71.9k ★
- Skill Claw — OpenClaw instance administration — manage hosts across macOS, Ubuntu/Debian, Docker, OCI, and Proxmox 2.8k ★
- Azure Functions Python — Azure Functions development for Python 1.8k ★
README
Docker Development Skill for Claude Code
A Claude Code skill for container-based development with Docker. Ensures all package installations and code execution happen inside containers, keeping your host machine clean.
Installation
git clone https://github.com/wrsmith108/docker-claude-skill.git ~/.claude/skills/docker
Key Principle
**Never run `npm`, `node`, `npx`, `tsx`, or project scripts directly on the host machine.**
Always use `docker exec ` instead.
What's Included
- First-Time Setup Guide: Step-by-step configuration for new projects
- Native Module Compatibility: Alpine vs Slim decision guide (glibc requirements)
- Enforcement Rules: Block npm/node commands from running on host
- Pre-Flight Checks: Verify container status before commands
- Command Reference: docker exec, docker-compose patterns
- Troubleshooting: Common issues including
ERR_DLOPEN_FAILEDfixes - Project Configuration:
.claude/docker-config.jsonfor per-project settings
Quick Start
1. Configure for Your Project
Create `.claude/docker-config.json`:
{
"containerName": "my-project-dev-1",
"baseImage": "node:20-slim",
"port": 3000,
"hasNativeModules": true
}
2. Choose Base Image
| Your Project Has | Use |
|---|---|
| Native modules (sqlite, sharp, bcrypt) | node:20-slim |
| Pure JavaScript/TypeScript only | node:20-alpine |
| Unsure | node:20-slim (safe default) |
3. Start Container
docker compose --profile dev up -d
docker exec my-project-dev-1 npm install
4. Run Commands in Container
docker exec my-project-dev-1 npm test
docker exec my-project-dev-1 npm run build
docker exec my-project-dev-1 npm run lint
Why Docker?
- Clean Host: No node_modules pollution on your machine
- Reproducible: Same environment for all developers
- Isolated: Project dependencies don't conflict
- Secure: No global pack
Related Skills
Opencode Box
Run Claude Code agents in lightweight docker container not blocking your development.
AI Dev Container
devc creates isolated, sandboxed Docker containers for AI coding agents (Claude Code, Codex, Gemini CLI, Openc
Deploy To Azure
Deploy DevContainer environment to Azure Container Apps for cloud-based development
Deploy To Docker
Build Docker image and start/redeploy the MCP Task Orchestrator container, reusing the last-used config by def
Claude Docker
GitHub Repo stars Docker container for running Claude Code with full permissions Docker container
Claude Code Container
A Docker container for running Claude Code in "dangerously skip permissions" mode.
Related Agents
Amoa Docker Container Expert
Manages Docker containers for cross-platform development and isolated testing. Requires AI Maestro installed.
Docker CI Debugger
Use this agent when you need to troubleshoot Docker-in-Docker (DinD) configurations in CI pipelines, debug Tes
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode