ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 119 - DCA discussion

Report
Export

Will this sequence of steps completely delete an image from disk in the Docker Trusted Registry?

Solution. Delete the image and delete the image repository from Docker Trusted Registry.

A.

Yes

Answers
A.

Yes

B.

No

Answers
B.

No

Suggested answer: B

Explanation:

The sequence of steps willnotcompletely delete an image from disk in the Docker Trusted Registry.Deleting an image and deleting an image repository from the Docker Trusted Registry will only remove the references to the image, but not the actual image data on the disk1.To completely delete an image from disk, you need to run the garbage collection command on the registry server, which will delete any unreferenced blobs2.The garbage collection command isbin/registry garbage-collect /path/to/config.yml3.Reference: Deleting an image), Garbage collection), Running garbage collection)

asked 08/11/2024
Dave Breath
49 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first