What problem does it solve? Container configurations often suffer from bloated images, security vulnerabilities, slow builds, and broken orchestration. This Skill provides expert-level Docker analysis to fix Dockerfile inefficiencies, harden container security, and produce production-ready Compose setups. ## 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 a security scan. Invoke this Skill to refactor the Dockerfile into a multi-stage distroless build with a non-root user, cutting the image to under 200MB and passing vulnerability checks. ## Quick Start Use the docker-expert skill to review my Dockerfile and docker-compose.yml, then optimize the image size and fix any security issues.