Which of the following commands can be used to show this information?

A systems administrator wants to check for running containers.

Which of the following commands can be used to show this information?
A . docker pull
B . docker stats
C . docker ps
D . docker list

Answer: C

Explanation:

The command that can be used to check for running containers is docker ps. The docker ps command can list all the containers that are currently running on the system. To show all the containers, including those that are stopped, the administrator can use docker ps -a ©.

References:

[CompTIA Linux+ Study Guide], Chapter 11: Working with Containers, Section: Managing Containers with Docker

[Docker PS Command with Examples]

Latest XK0-005 Dumps Valid Version with 136 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments