In this part, we will understand Docker architecture. This is where many beginners get confused — so we will keep it simple and logical.
Docker Client is what you interact with. Every time you type a Docker command, you are talking to the Docker Client.
docker ps
docker run hello-world
The client does not do heavy work. It only sends instructions.
Docker Daemon is the brain. It runs in the background and does the actual work.
A Docker image is a blueprint. It is a read-only template used to create containers.
Image contains:
A container is a running instance of an image. One image can create many containers.
Understanding this helps you:
In Part 4, we will: