What is a Docker image?
Question 1 of 5
Assess Docker concepts including images, containers, Dockerfiles, volumes, and compose files.
DevOps · About 3 minutes
Question 1 of 5
Review all 5 questions at your own pace. Open each answer to see the correct response and a concise explanation of the concept.
Topics covered
Correct answer
A packaged filesystem and instructions for containers
Images contain the application, dependencies, and metadata needed to run containers.
Correct answer
How to build an image
A Dockerfile contains build steps such as base image, copied files, and run commands.
Correct answer
Persisting data outside the container lifecycle
Volumes keep data even when containers are recreated.
Correct answer
Running multi-container applications
Compose defines services, networks, and volumes for local or simple multi-container setups.
Correct answer
Faster pulls and smaller attack surface
Smaller images deploy faster and include fewer unnecessary packages.
Need a teammate, not a test?