CompTIA Linux+ (XK0-005) — Question 219

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

Answer options

Correct answer: C

Explanation

The correct command is 'docker ps', which specifically lists all running containers. The 'docker pull' command is used to download images, 'docker stats' provides resource usage statistics for running containers, and 'docker list' is not a valid Docker command.