DevOps Tools Engineer (LPIC-OT 701) — Question 35
How is a Docker container image retrieved from a Docker registry?
Answer options
- A. Docker retrieves a ZIP archive which is extracted into the container's root file system.
- B. Multiple stacked images are retrieved and layered on top of each other.
- C. A flat hard disk image is downloaded once per container and mounted as the root file system.
- D. The registry merger all components of the image into one file which is shipped to Docker.
- E. The container is built from an ISO file along with a configuration for an unattended installation.
Correct answer: B
Explanation
Option B is correct because Docker uses a layering system where multiple images are stacked to form the final container image. The other options describe processes that do not accurately represent how Docker handles images, such as extracting ZIP files or using ISO files, which are not part of Docker's image retrieval mechanism.