GIAC Foundational Cybersecurity Technologies Practice Test

Question: 1 / 400

What command is used to list locally stored images in Docker?

docker images

The command used to list locally stored images in Docker is "docker images." This command provides a summary of all the images that have been downloaded and are stored on the local machine, along with details such as repository name, tag, image ID, and creation date. It is essential for managing images, as it allows users to see what images are available for use and can help in identifying which images may need to be updated or removed.

The other options serve different purposes: "docker pull" is used to download images from a Docker registry, "docker run" is utilized to create and start a container from an image, and "vi Dockerfile" refers to opening or editing a Dockerfile using the vi text editor, which is used for writing and managing the instructions needed to build Docker images. Each of these commands caters to specific tasks within the Docker ecosystem, making "docker images" the correct choice for listing stored images.

Get further explanation with Examzify DeepDiveBeta

docker pull

docker run

vi Dockerfile

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy