Docker Certified Associate (DCA) — Question 42
Will this sequence of steps completely delete an image from disk in the Docker Trusted Registry?
Delete the image and delete the image repository from Docker Trusted Registry
Answer options
- A. Yes
- B. No
Correct answer: B
Explanation
The correct answer is B because simply deleting the image and its repository does not guarantee that the image is completely removed from the disk; it may still exist in the registry's storage until the garbage collection process is run. Therefore, without running garbage collection, the image data may still linger on the disk.