← ClaudeAtlas

docker-patternslisted

Docker patterns - Dockerfile best practices, multi-stage builds, Compose service configuration, networking, volumes, and security. Use whenever the project contains a `Dockerfile`, a Compose file, or `.dockerignore`, OR the user asks about containers, image builds, or Compose service wiring, even if Docker is not mentioned by name.
ku5ic/dotfiles · ★ 0 · DevOps & Infrastructure · score 72
Install: claude install-skill ku5ic/dotfiles
# Docker patterns Docker Engine 29.4.2. Compose Specification (current format, supersedes 2.x and 3.x). Verify at https://docs.docker.com/engine/release-notes/ and https://docs.docker.com/compose/compose-file/. ## Reference files | File | Covers | | ---------------------------------------------- | -------------------------------------------------------------------------------------------- | | [dockerfile.md](reference/dockerfile.md) | Base image selection, layer caching, RUN/COPY/ADD/CMD/ENTRYPOINT/USER/WORKDIR, .dockerignore | | [multi-stage.md](reference/multi-stage.md) | Multi-stage builds, named stages, COPY --from, --target, BuildKit | | [compose.md](reference/compose.md) | Services, build, ports, depends_on with healthcheck, restart, env_file, profiles, secrets | | [networking.md](reference/networking.md) | Bridge/host/none drivers, user-defined networks, service discovery, port publishing | | [volumes.md](reference/volumes.md) | Named volumes vs bind mounts vs tmpfs, when to use each, Compose volume declarations | | [security.md](reference/security.md) | Non-root user, minimal base images, image pinning, .dockerignore, Docker Scout, secrets | | [anti-patterns.md](reference/anti-patterns.md) | Severity-labeled anti-patterns to flag in review