Docker Network Aliases: The Feature Nobody Uses
Network aliases give a container more than one DNS name on a Docker network. Blue-green and canary deploy patterns, a Compose example, and the limits.
All the articles with the tag "docker".
Network aliases give a container more than one DNS name on a Docker network. Blue-green and canary deploy patterns, a Compose example, and the limits.
Master Docker HEALTHCHECK syntax. Learn what checks work, how to tune interval/timeout/retries, and integrate with orchestration.
Containers run as root by default, which is a real security problem. The USER instruction, numeric UID/GID, the volume mount gotcha, and distroless bases.
Docker labels are free metadata for filtering, routing, and documentation. Learn label conventions and leverage them with filters and tools.
Docker layer caching explains most slow builds. Why copying files too early kills the cache, the layer ordering that fixes it, and a multi-stage benchmark.
Decode Docker exit codes: 0 (success), 1 (app error), 125/126/127 (Docker errors), 137 (OOM), 143 (SIGTERM). Debug restarts in minutes.
A missing .dockerignore bloats build context, slows every build, and leaks secrets into images. One you can copy-paste, plus how to check context size.
Docker's default JSON logging driver writes unbounded logs to disk. Learn how to set log rotation and reclaim your storage.
PID 1 in a container ignores signals, so Ctrl+C does nothing and stops take 10 seconds. Fix it with exec form CMD or tini, ranked best to worst approach.
daemon.json controls how the Docker daemon behaves, logging drivers, storage drivers, registry mirrors, and the options worth tuning.
Bridge, host, overlay, macvlan, and none, every Docker network mode explained with real use cases from beginner to production.
The -v and --mount flags for Docker volumes explained, bind mounts vs named volumes, read-only, propagation, and tmpfs options.