1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:02:09 +02:00
tldr/pages/common/docker-image.md
Managor 1ff3c74910
docker: improve example, docker-image: add a pointer towards docker-rmi (#15709)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
2025-02-08 15:01:33 +01:00

518 B

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