ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 228 - XK0-005 discussion

Report
Export

A systems administrator wants to check for running containers. Which of the following commands can be used to show this information?

A.
docker pull
Answers
A.
docker pull
B.
docker stats
Answers
B.
docker stats
C.
docker ps
Answers
C.
docker ps
D.
docker list
Answers
D.
docker list
Suggested answer: C

Explanation:

The command that can be used to check for running containers isdocker ps. Thedocker pscommand 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 usedocker ps -a.Reference:

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

[Docker PS Command with Examples]

asked 02/10/2024
Lipon Uddin
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first