CompTIA
XK0-005 · Question #779
Which of the following commands should a systems administrator use to remove a container image from a local Linux system?
The correct answer is A. docker rmi imageID. The docker rmi imageID command is the correct Docker CLI instruction to remove a container image from the local system; the other commands are not valid Docker image removal
Scripting, Containers, and Automation
Question
Which of the following commands should a systems administrator use to remove a container image from a local Linux system?
Options
- Adocker rmi imageID
- Bdocker remove imageID
- Cdocker del imageID
- Ddocker delete imageID
How the community answered
(19 responses)- A89% (17)
- B5% (1)
- C5% (1)
Explanation
The docker rmi imageID command is the correct Docker CLI instruction to remove a container image from the local system; the other commands are not valid Docker image removal
Topics
#Docker#Container images#CLI#Image management
Community Discussion
No community discussion yet for this question.