docker image prune

From wikieduonline
Revision as of 08:47, 14 February 2023 by Brave (talk | contribs)
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

Remove dangling images, to filter them: docker images --filter "dangling=true"

Remove all unused images:

Related commands

See also

Advertising: