Components of Docker

1. Docker Daemon:

  • Docker Daemon runs on host 0.8.
  • It is responsible for running containers to manage docker services.
  • Docker Daemon can communicate with other demons.

2. Docker client:

  • Docker user can interact docker daemon through a client
  • It sends the commands for docker daemon.
  • Through this we can communicate with more daemon at same time.
  • It provides the environment to execute and run applications.
  • It contains the docker daemon, images, containers, networks and storages.

3. Docker Engine:

  • It is an open source containerization technology for building and containerizing your applications.
  • It is nothing but a primary storage in local host.
  • It stores the container in their local host from docker hub instead of going again and aging in docker hub.

4. Docker Hub/ Registry:

  • It manages and stores the docker image.
  • Two types for registries are there in docker:
    • Public Registry: Public Registry is called a docker hub and it is visible to everyone.
    • Private Registry: It is used to share images within the enterprise.

5. Docker images:

  • It is read only file binary templates used to create docker containers.
  • Single file with all dependencies and configuration is required to run a container.

6. Ways to create an images:

  • Take images from docker hub.
  • Create image from docker file.
  • Create an image from an existing container.

7. Docker Container:

  • Containers hold the entire packages that need to run the application. We can say that, the image is a template and the container is a copy of that image.
  • Container is like a virtual machine.
  • Images become containers when they run on docker engine.