docker image prune
(Redirected from Image prune)
Jump to navigation
Jump to search
docker image prune
remove unused images. https://docs.docker.com/engine/reference/commandline/image_prune/
Options: -a, --all not just the dangling ones -f, --force --filter
❗ Attention: inappropriate usage from this command may cause data loss.
Examples[edit]
Remove dangling images, to filter them: docker images --filter "dangling=true"
docker image prune
Remove all unused images:
Related commands[edit]
docker image ls
docker image rm
docker system df
docker system prune
docker container prune
docker image tag
podman image prune
docker images --filter "dangling=true"
See also[edit]
docker image
: [push | ls | rm | prune | inspect | tag | --help
]- Docker images management:
docker images
,docker image
,docker image inspect
Advertising: