Docker Engine 29 reference · 5 entries
Docker Images
Build, list, tag, inspect history and remove images with docker build, image ls, tag, history and image rm.
| Name | Description | Since |
|---|---|---|
docker build |
Build an image from a Dockerfile and a build context, with tags, build arguments, secrets, targets and platforms. | |
docker image ls |
List local images with repository, tag, ID and size; filter dangling images and format the output. | |
docker tag |
Give an existing image another name, typically a registry path and version before pushing; tags are pointers to the same image. | |
docker history |
Show the layers of an image and the instruction that created each, with sizes, to find what makes it big. | |
docker image rm |
Remove local images or tags; an image used by a container must be forced, and shared layers stay until unused. |