Check out the picture on this module: https://video2.skills-academy.com/en-us/training/modules/intro-to-docker-containers/2-what-is-docker

Hans Van Soom 20 Reputation points
2024-07-05T14:34:17.2733333+00:00

User's image

I think the picture is wrong. Images are stored and distributed from a hub. Docker Host only revers to the Docker Server. Docker Engine, to Docker Server, REST API and Docker Client. So there should be a gab between Docker Engine and Containers in the same way as there is one between Docker Engine and Docker Hub. If you get the picture?! :-)

What do you think?

This question is related to the following Learning Module

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,241 questions
{count} votes

Accepted answer
  1. SiddeshTN 3,435 Reputation points Microsoft Vendor
    2024-07-06T15:10:32.2133333+00:00

    Hi Hans Van Soom,

    Thank you for reaching out to us on Microsoft Q&A forum. 

    To analyze the diagram in question, consider the key components of Docker architecture:

    1.Docker Hub is a public or private registry for storing and distributing Docker images.
    2.Docker Host refers to the machine where the Docker server operates, which can be either a physical or virtual machine.
    3.Docker Engine comprises the Docker server (dockerd), REST API, and Docker client.
    4.Containers are the runtime instances of Docker images.

    Here’s a breakdown of the flow and interaction:
    1.Docker Hub stores Docker images which can be pulled by the Docker Host.
    2.The Docker Host runs the Docker Engine.
    3.The Docker Engine has three main components:
    -Docker Server (dockerd): The daemon that manages Docker containers.
    -REST API: Interfaces with the Docker server.
    -Docker Client: The interface to communicate with the Docker server.

    Note: Containers are created, started, stopped, and managed by the Docker server ("dockerd").

    Correctness of the Diagram
    In the context of Docker's architecture, the Docker server is responsible for managing the lifecycle of containers. The diagram directly connects Docker Engine to Containers, which is a simplification, but technically accurate as dockerd (part of Docker Engine) manages containers directly.

    The gap between Docker Engine and Containers in the diagram represents the Docker server's management of container lifecycles, which isn't explicitly detailed but is inherently understood.

    Conclusion

    The diagram is accurate. It correctly shows Docker Hub, Docker Engine, and Containers, including Docker Engine's internal components (Docker Server, REST API, Docker Client). The Docker Engine's role in managing containers is clear, and no gap is needed since Docker Engine (via dockerd) directly handles the containers.

    If you find this information helpful, please acknowledge by clicking the "Accept answer" & "Upvote" buttons on the post.


0 additional answers

Sort by: Most helpful