GIAC Cybersecurity Technologies Practice Test 2025 – Complete Exam Prep

Image Description

Question: 1 / 400

What is the function of the command 'docker ps'?

List running containers

The command 'docker ps' is used to list all the currently running containers on a Docker host. When you execute this command, it provides valuable information such as the container ID, image name, command being executed in the container, creation time, status, ports being used, and the names assigned to the running containers. This function is essential for managing and monitoring containerized applications, allowing users to quickly see which containers are active and their status.

The other options pertain to different Docker functionalities—pulling images from a repository involves using the 'docker pull' command, running commands inside a container can be accomplished with 'docker exec', and building Docker images is done via the 'docker build' command. Thus, each choice represents distinct capabilities within Docker, with 'docker ps' specifically honing in on monitoring running containers.

Get further explanation with Examzify DeepDiveBeta

Pull images from a repository

Run commands in a container

Building Docker images

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy