CompTIACompTIA
XK0-005 · Question #1568
XK0-005 Question #1568: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-005 to reveal the answer and full explanation for question #1568. The question stem and answer options stay visible for context.
Scripting, Containers, and Automation
Question
A cloud engineer needs to remove all dangling images and delete all the images that do not have an associated container. Which of the following commands will help to accomplish this task?
Options
- Adocker images prune -a
- Bdocker push images -a
- Cdocker rmi -a images
- Ddocker images rmi --all
Unlock XK0-005 to see the answer
You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Docker#Container Management#Image Pruning#Cleanup