TOPIC / TAG
Notes in docker
5 articles

ufw Without Locking Yourself Out
Set up ufw on a Debian or Ubuntu VPS with SSH allowed first, a timed rollback in case a rule is wrong, and a clear view of the Docker ports ufw cannot see.

A Safe 90-Second Linux Disk Space Triage
A read-only sequence for finding what filled a Linux server before deleting logs, images, caches, or data you may still need.

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.