![]() ![]() After a Docker client sends requests (such as the docker build, docker pull, and docker run commands) to a Docker server or daemon, the Docker server or daemon completes the corresponding work and returns the result. Docker client: refers to a client that communicates with the Docker daemon.The following roles are involved in the Docker architecture: You can connect a Docker client to directly exchange information with the Docker daemon. The Docker daemon runs on a Docker host machine. The Docker daemon functions as the server to receive requests from the Docker client, and builds, runs, and distributes Docker containers. Docker uses a client-server architecture. The following figure shows the Docker running logic. To use the image on another host machine, you only need to download it from the registry. After creating an image, you can upload it to a public or private registry. Each container is an isolated and secure platform, and can be considered as a lightweight Linux running environment. Docker uses containers to run applications. Container: is a runnable instance of an image.You can use an existing image on a device to install multiple same Docker containers. A Docker image can be used to create Docker containers. A Docker image does not contain any dynamic data, so the contents in it will not change after it is built. In addition to providing the program, registry, resource, and configuration files required for running containers, a Docker image also contains some configuration parameters needed for running. Image: A Docker image is a special file system.Each container has its own isolated user space.Ĭomparison between Docker containers and VMs How Does a Docker Container Work?ĭocker consists of the following objects: This allows more container instances than VMs to run under the same hardware specifications. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |