Difference between revisions of "Docker system prune -a"
Jump to navigation
Jump to search
↑ https://docs.docker.com/v17.12/edge/engine/reference/commandline/system_info/
↑ https://docs.docker.com/v17.12/edge/engine/reference/commandline/system_events/
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ..../.... | + | [[docker system prune]] -a |
+ | WARNING! This will remove: | ||
+ | - all stopped containers | ||
+ | - all networks not used by at least one container | ||
+ | - all images without at least one container associated to them | ||
+ | - all build cache | ||
+ | Are you sure you want to continue? [y/N] y | ||
+ | |||
+ | ..../.... | ||
+ | |||
+ | Total reclaimed space: 301MB | ||
− | + | == Related == | |
− | </ | + | * <code>[[docker cp]]</code> |
+ | * [[dangling]] | ||
+ | * [[docker image ls]] | ||
== See also == | == See also == | ||
* {{docker system}} | * {{docker system}} | ||
+ | |||
+ | [[Category:Docker]] |
Latest revision as of 10:37, 14 September 2023
docker system prune -a WARNING! This will remove: - all stopped containers - all networks not used by at least one container - all images without at least one container associated to them - all build cache Are you sure you want to continue? [y/N] y ..../.... Total reclaimed space: 301MB
Related[edit]
See also[edit]
- docker system:
docker system info
[1],docker system events
[2],docker system df
,docker system prune -a
Advertising: