Needing to download images from the Internet. To store commercial or sensitive images, which also avoids the overhead of Many organizations run their own registries that can be used The default registry is theĭocker Hub, which hosts thousands of public images as well as curated The Docker client and daemonĭocker registries store and distribute images.
With the daemon, without using the Docker client. The API used for communication with daemon is well definedĪnd documented, allowing developers to write programs that interface directly Such as requiring a build context for Dockerfiles, as explained in Because all communication must be done over HTTP, it’s easy to connect to remote Docker daemons and develop programming languageīindings, but it also has implications for how features are implemented, By default, this happens over a Unix domain socket, but itĬan also use a TCP socket to enable remote clients or a file descriptor for The Docker client is on the lefthand side and is used to talk to the Dockerĭaemon via HTTP. Launched by running docker daemon, which is normally taken care of by the host OS. Running, and monitoring containers, as well as building and storing images,īoth of which are represented on the right of the diagram. In Figure 4-1, we can see the major components of a Docker installation:Īt the center is the Docker daemon, which is responsible for creating,
Platform is put together under the covers. In order to understand how best to use Docker and some of the more unusualīehavior in Docker, it’s good to have a rough understanding of how the Docker