nerdexam
CompTIACompTIA

XK0-005 · Question #416

XK0-005 Question #416: Real Exam Question with Answer & Explanation

Sign in or unlock XK0-005 to reveal the answer and full explanation for question #416. The question stem and answer options stay visible for context.

System Management

Question

A Linux administrator found many containers in an exited state. Which of the following commands will allow the administrator to clean up the containers in an exited state?

Options

  • Adocker rm --all
  • Bdocker rm $(docker ps -aq)
  • Cdocker images prune *
  • Ddocker rm --state exited

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#Linux CLI#System Cleanup
Full XK0-005 PracticeBrowse All XK0-005 Questions