Back to Docker
🔌
Phase 3
Runtime — Networking, Storage & Process Behaviour
Connecting containers, keeping data alive, and understanding how a container starts and stops. Most 'it works locally but not in the container' bugs live here.
1
Container Networking: Bridges, DNS and Why localhost Lies
Why two containers can't reach each other on the default bridge, what -p actually does, and why localhost inside a container isn't your laptop.
dockernetworkingbridge
2
Volumes vs Bind Mounts: Making Data Outlive the Container
The writable layer dies with the container. Learn which storage option to reach for, the mount mistake that silently destroys a database, and how to verify it.
dockervolumesbind-mounts
3
PID 1, Signals and Health Checks
Why your container takes exactly ten seconds to stop, how exec form decides whether your app hears SIGTERM, and writing a health check that means something.
dockerpid1signals