docker system prune

From wikieduonline
Jump to navigation Jump to search

https://docs.docker.com/engine/reference/commandline/system_prune/. Since API 1.25+ (v 1.13) 01/2017 announcement

Use carefully, your stopped containers will be deleted.

Example[edit]


docker system prune
WARNING! This will remove:
 - all stopped containers
 - all networks not used by at least one container
 - all dangling images
 - all dangling build cache
  • docker system prune -a Remove all unused images not just dangling (untagged) ones


Related[edit]

journalctl -r -u dockerd
Sep 15 15:49:41 SERVER_NAME dockerd[1015]: time="2020-09-15T15:49:41.387495853+04:00" level=warning msg="failed to prune image docker.io .../... No such image:


Related[edit]

Activities[edit]

See also[edit]

Advertising: