← ClaudeAtlas

docker-patternslisted

Docker patterns covering Dockerfile best practices, multi-stage builds, Compose service configuration, networking, volumes, and security. Use whenever the project contains a Dockerfile, docker-compose.yml, .dockerignore, or compose.yaml, OR the user asks about Docker, containers, docker-compose, multi-stage builds, base images, volumes, healthcheck, depends_on, 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/. ## When to load this skill - Project contains `Dockerfile`, `docker-compose.yml`, `compose.yaml`, or `.dockerignore` - `FROM` instructions in any file - `services:` key in YAML files - User asks about Docker, containers, docker-compose, multi-stage, base images, healthcheck, volumes ## When not to load this skill - Kubernetes without Docker build context - Podman (different CLI, mostly compatible but diverges on rootless and socket behavior) - Container runtimes (containerd, CRI-O) used directly without Docker tooling ## Reference files | File | Topics | | ---------------------------------------------- | -------------------------------------------------------------------------------------------- | | [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 | | [networ