CompTIA
XK0-006 · Question #49
XK0-006 Question #49: Real Exam Question with Answer & Explanation
The correct answer is B. docker ps. The docker ps command lists all running containers, allowing the administrator to verify whether the application’s containers are active.
Question
Users cannot access an application that is running inside containers. The administrator wants to validate whether the containers are running. Which of the following commands should the administrator use?
Options
- Adocker start
- Bdocker ps
- Cdocker run
- Ddocker images
Explanation
The docker ps command lists all running containers, allowing the administrator to verify whether the application’s containers are active.
Community Discussion
No community discussion yet for this question.