![How Docker Works....!](https://assets.community.aws/a/2g5jg2xpJnxA93lqAL7Z7uKLl9x/docker-jpg.webp)
How Docker Works....!
This Post Describes you how docker will works in real-time Projects.
Published May 6, 2024
How does Docker work? . .
The diagram below shows the architecture of Docker and how it works when we run “docker build”, “docker pull” and “docker run”.
There are 3 components in Docker architecture:
🔹 Docker client The docker client talks to the Docker daemon.
🔹 Docker host The Docker daemon listens for Docker API requests and manages Docker objects such as images, containers, networks, and volumes.
🔹 Docker registry A Docker registry stores Docker images.
Docker Hub is a public registry that anyone can use.
![Simple Architecture About How Docker Work..?](https://assets.community.aws/a/2g5k6V88za6p7cGCyrJfNVJTaL6/oyyy.webp)
Let’s take the “docker run” command as an example.
1. Docker pulls the image from the registry.
2. Docker creates a new container.
3. Docker allocates a read-write filesystem to the container.
4. Docker creates a network interface to connect the container to the default network.
5. Docker starts the container.
These are the Best Considerations are needed to know about how Docker work..
Docker is a Open source and easy to learn and it is a important tool in DevOps.
Here i will provide a Like for know Deep Drive about Docker. Docker Docs