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.
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.
–
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): https://t.co/FIzCeaWsZV
A bill that would have prevented transgender high school students from playing on sports teams based on their gender identity died in the South Dakota Legislature, but civil rights groups say they are still keeping an eye on other states https://t.co/zwEX1470uA
CNN Business' @SamuelCNN tests out Microsoft's new augmented reality headset, the HoloLens 2. Here's how it can help certain workers do their jobs. https://t.co/kDDBTBebzR
In May of 2008, we celebrated the dedication of the Grizzlies Activity Zone at our MAM Grizzlies Center in partnership with @nbacares and the @Toyota Project Rebound program. 🎉🏀 Thank you @mconley11, @RudyGay, and @memgrizz for a memorable day! #tbt#MAMSports#NBACares