TOPIC / TAG
Notes in containers
4 articles

Docker Compose Healthchecks That Actually Help
Write a Docker Compose healthcheck that shows whether a service can actually do its job, without letting one shaky dependency mark everything unhealthy.

Docker Bind Mounts or Volumes? A Practical Choice
Choose between Docker bind mounts and named volumes by ownership, portability, backup needs, and failure modes.

A Multi-Stage Dockerfile That Ships Only the Build Output
Build a static site in a Node stage, ship only the generated files on nginx, and use --target, docker image ls, and docker history to confirm what actually ended up in the final image.

Docker Restart Policies Without the Magic
Choose a Docker restart policy by understanding exits, manual stops, daemon restarts, and failure loops.