mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 21:42:08 +02:00
25 lines
518 B
Markdown
25 lines
518 B
Markdown
# docker image
|
|
|
|
> Manage Docker images.
|
|
> See also: `docker build`, `docker import`, and `docker pull`.
|
|
> More information: <https://docs.docker.com/reference/cli/docker/image/>.
|
|
|
|
- List local Docker images:
|
|
|
|
`docker image ls`
|
|
|
|
- Delete unused local Docker images:
|
|
|
|
`docker image prune`
|
|
|
|
- Delete all unused images (not just those without a tag):
|
|
|
|
`docker image prune --all`
|
|
|
|
- Show the history of a local Docker image:
|
|
|
|
`docker image history {{image}}`
|
|
|
|
- View documentation for `docker image rm`:
|
|
|
|
`tldr docker rmi`
|