DCA Exam QuestionsBrowse all questions from this exam

DCA Exam - Question 27


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

Show Answer
Correct Answer:

Discussion

2 comments
Sign in to comment
LavaPupOption: B
Dec 7, 2024

B is correct. https://stackoverflow.com/questions/25436742/how-to-delete-images-from-a-private-docker-registry

__rajan__Option: B
Jan 8, 2025

The complete process to fully delete an image from DTR requires additional steps: Delete the image through the DTR interface or API Delete the repository Run garbage collection The garbage collection step is crucial because: * When you delete images/repositories from DTR, the actual image files remain on disk * These files are marked for deletion but are not immediately removed * Only after running garbage collection will the actual disk space be reclaimed * This is a safety mechanism to prevent accidental data loss