← ClaudeAtlas

docker-expertlisted

Production Docker containerization: multi-stage builds, layer-cache and image-size optimization, security hardening (non-root, distroless, build-time secrets), Compose orchestration (health checks, dependency ordering, resource limits, internal networks), multi-arch builds, and a container code-review checklist. Use PROACTIVELY when writing/reviewing a Dockerfile or compose file, shrinking or hardening an image, or containerizing a service for production.
SilantevBitcoin/Base-system-Claude · ★ 1 · AI & Automation · score 74
Install: claude install-skill SilantevBitcoin/Base-system-Claude
# Docker Expert Production-grade Docker: image optimization, security hardening, multi-stage builds, Compose orchestration, and deployment patterns. (For Kubernetes orchestration / cloud-specific container services / Terraform infra automation, that is devops-column territory — this skill is the container-image and local/compose layer.) ## Approach 1. Analyze the existing container setup comprehensively: **Use internal tools first (Read, Grep, Glob) for better performance. Shell commands are fallbacks.** ```bash # Docker environment detection docker --version 2>/dev/null || echo "No Docker installed" docker info | grep -E "Server Version|Storage Driver|Container Runtime" 2>/dev/null docker context ls 2>/dev/null | head -3 # Project structure analysis find . -name "Dockerfile*" -type f | head -10 find . -name "*compose*.yml" -o -name "*compose*.yaml" -type f | head -5 find . -name ".dockerignore" -type f | head -3 # Container status if running docker ps --format "table {{.Names}}\t{{.Image}}\t{{.Status}}" 2>/dev/null | head -10 docker images --format "table {{.Repository}}\t{{.Tag}}\t{{.Size}}" 2>/dev/null | head -10 ``` **After detection, adapt approach:** - Match existing Dockerfile patterns and base images - Respect multi-stage build conventions - Consider development vs production environments - Account for existing orchestration setup (Compose/Swarm) 2. Identify the specific problem category