0
0
Dockerdevops~10 mins

Listing local images in Docker - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the command to list all local Docker images.

Docker
docker [1]
Drag options to blanks, or click blank then click option'
Arun
Bimages
Cstart
Dbuild
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'docker run' instead of 'docker images'.
Using 'docker start' which is for containers, not images.
2fill in blank
medium

Complete the command to list local Docker images with their digests.

Docker
docker images --[1]
Drag options to blanks, or click blank then click option'
Adigests
Ball
Cfilter
Dquiet
Attempts:
3 left
💡 Hint
Common Mistakes
Using '--quiet' which only shows image IDs.
Using '--all' which shows intermediate images but not digests.
3fill in blank
hard

Fix the error in the command to list all images including intermediate ones.

Docker
docker images [1]
Drag options to blanks, or click blank then click option'
A--remove
B--quiet
C--filter
D--all
Attempts:
3 left
💡 Hint
Common Mistakes
Using '--quiet' which only shows IDs.
Using '--remove' which is not a valid option here.
4fill in blank
hard

Fill both blanks to list images filtered by dangling status.

Docker
docker images --filter [1]=[2]
Drag options to blanks, or click blank then click option'
Adangling
Btrue
Cfalse
Dlabel
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'dangling=false' which shows non-dangling images.
Using 'label' filter which is unrelated here.
5fill in blank
hard

Fill all three blanks to list images filtered by label and show only IDs.

Docker
docker images --filter [1]=[2] --[3]
Drag options to blanks, or click blank then click option'
Alabel
Benv=prod
Cquiet
Dall
Attempts:
3 left
💡 Hint
Common Mistakes
Using '--all' instead of '--quiet' to show IDs.
Using wrong filter key instead of 'label'.