Build, deploy, and test a multi-container Docker application
Real applications aren't single containers. Here's how to build a Node.js + MongoDB two-container setup, wire them together over a custom network, and push the image to Docker Hub.
Real applications aren't single containers. Here's how to build a Node.js + MongoDB two-container setup, wire them together over a custom network, and push the image to Docker Hub.
Docker creates three networks by default and lets you create more. Understanding which driver to use and when is what separates working setups from broken ones.
Containers are ephemeral by design. Docker volumes are how you keep data alive across container restarts, removals, and re-deploys — here's how they work and when to use them.
A practical reference for the Docker commands that cover 95% of real-world container operations, with context on when and why to use each one.
Docker installation varies more than it should across Linux distributions. Here's the complete path for both Ubuntu and CentOS/RHEL, including the offline method for air-gapped production servers.
From installation to your first running container — including how Docker images actually work, every Dockerfile instruction, and how to keep image sizes under control.