docker image ls
Lists the images stored on your machine with their repository, tag, ID and size.
In more detail
Pass a name to filter, for example docker image ls alpine:3.20. The ID shown is a shortened content hash, and sizes vary between architectures.
Example
docker image ls alpine:3.20Related terms
- image — A read-only package containing a program and everything it needs to run, used as the template for containers.
- tag — A human-readable label such as 3.20 or latest attached to an image in a repository, which can be moved to point at a different image.
- docker image rm — Deletes an image from your machine.
Taught in
- Pull And Inspect A Third Party Image — Docker Architecture & Production Containers
- Run, Stop, Restart And Remove A Container — Docker Architecture & Production Containers
- Multi Stage Builds, Targets And Build Secrets — Docker Architecture & Production Containers
- Tags, Digests And Reproducible Image References — Docker Architecture & Production Containers
- Diagnose Crashes, Resource Limits And Unhealthy Containers — Docker Architecture & Production Containers