GIAC Foundational Cybersecurity Technologies Practice Test

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the GIAC Foundational Cybersecurity Technologies Test. Utilize flashcards and multiple-choice questions, each with detailed hints and explanations to excel. Boost your readiness for the exam!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


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

  1. docker images

  2. docker pull

  3. docker run

  4. vi Dockerfile

The correct answer is: 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.