0
0
Dockerdevops~5 mins

Listing local images in Docker - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What command lists all local Docker images on your machine?
The command docker images shows all Docker images stored locally.
Click to reveal answer
beginner
What information does docker images display?
It shows the repository name, tag, image ID, creation date, and size of each local image.
Click to reveal answer
intermediate
How can you list images with a specific repository name?
Use docker images <repository_name> to filter images by repository.
Click to reveal answer
intermediate
What does the -a or --all option do with docker images?
It shows all images including intermediate image layers, not just the top-level images.
Click to reveal answer
advanced
How do you list images with their digests?
Use docker images --digests to see image digests along with other details.
Click to reveal answer
Which command lists all local Docker images?
Adocker ps
Bdocker images
Cdocker run
Ddocker pull
What does the docker images -a command show?
AAll images including intermediate layers
BOnly images from Docker Hub
COnly running containers
DOnly top-level images
How do you filter images by repository name?
Adocker images --filter repository=name
Bdocker images -f name
Cdocker images name
Ddocker images --name
Which field is NOT shown by default in docker images output?
AImage digest
BTag
CRepository
DImage ID
What does the Tag column represent in docker images?
AThe creation date
BThe image size
CThe container ID
DThe version or variant of the image
Explain how to list all local Docker images and what key details you see in the output.
Think about the command that shows images and what columns it displays.
You got /6 concepts.
    Describe how to filter Docker images by repository name and why this might be useful.
    Consider how to narrow down the list to images from one source.
    You got /3 concepts.