What problem does it solve? Container configurations often suffer from bloated images, security vulnerabilities, slow builds, and fragile orchestration setups. This Skill diagnoses and fixes Dockerfile, image, and Docker Compose issues using production-grade patterns. ## Core Features & Use Cases - Dockerfile Optimization: Applies multi-stage builds, layer caching strategies, and base image selection (Alpine, distroless, scratch) to minimize image size and build time. - Security Hardening: Configures non-root users, secrets management via BuildKit and Docker secrets, and minimal attack surfaces. - Compose Orchestration: Designs service dependencies with health checks, custom networks, resource limits, and environment-specific overrides. - Use Case: Your Node.js production image is 1.2GB and fails security scans. Invoke this Skill to refactor it into a hardened multi-stage build under 200MB with a non-root user and health checks. ## Quick Start Use the docker-expert skill to review my Dockerfile and reduce the production image size while fixing security issues.