Visualizing how Docker builds, ships, and runs applications using the Client-Server architecture.
Where you issue commands. The client talks to the Docker Daemon via a REST API.
Role
Sends instructions to the Docker Host.
The machine running the Docker Daemon.
Listens for API requests and manages Images, Containers, Networks, and Volumes.
Read-only templates used to create containers.
Built from Dockerfile
Runnable instances of an image.
Image + Writeable Layer
Stores and distributes Docker images (public or private).
e.g., Docker Hub, AWS ECR, Google Artifact Registry.
Actions
VMs duplicate the OS per workload; containers share the host kernel and isolate at the process/filesystem level.
Containers live behind Docker’s networking boundary. Publishing a port creates a controlled route from your host into the container.
You hit a host port.
Publishes a host port to a container port.
Your app listens on its internal port.