Statement 1: Docker Engine is used for hosting various Docker images.
Statement 2: Docker Hub is used for building Docker images.
(a) Statement 1 is TRUE and Statement 2 is FALSE
(b) Statement 1 is FALSE and Statement 2 is TRUE
(c) Both statements are TRUE
(d) Both statements are FALSE
Answers
Answer:
Correction option C.
Both statements are TRUE
Statement 1: Docker Engine is used for hosting various Docker images.
Statement 2: Docker Hub is used for building Docker images.
Explanation:
Statement 1: Docker Engine is used for hosting various Docker images: Docker container comes from a Docker image. To put it another way, Docker images are used to build containers. A container instance is produced when a user runs a Docker image. These Docker images are compatible with any Docker environment. This Docker training follows the Docker Certified Associate (DCA) Certification body and covers Docker's foundations. You'll learn how to understand Docker and its function in the DevOps lifecycle, as well as how to create images, containers, swarms, volumes, and networks, as well as how to define Docker security client bundles and client-server authentication.
Statement 2: Docker Hub is used for building Docker images:
Docker containers are created using Docker images. These Docker images need to be stored in a registry. Docker Hub is a registry. Users can download images from Docker Hub and utilise them in their applications.