📡 You're offline — showing cached content
New version available!
Quick Access
Tutorials Docker Docker Images

Docker Images

4 min read Quiz at the end
Pull, list, inspect, and remove Docker images — understand image layers and tags.

Docker Images

Images are read-only templates built in layers. Each Dockerfile instruction creates one layer.

docker pull nginx
docker pull node:20-alpine
docker images
docker rmi nginx
docker history nginx
docker inspect nginx
docker search redis
Topic Quiz · 3 questions

Test your understanding before moving on

1. What does docker pull do?
💡 docker pull downloads an image from Docker Hub or another registry to your local machine.
2. Which command lists locally available images?
💡 docker images (or docker image ls) lists all images stored locally.
3. What does image tagging do?
💡 Tags like myapp:1.0 identify a specific image version for pushing and pulling.