Editing Docker system prune
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | <pre> | |
− | + | 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: 0B | ||
+ | </pre> | ||
− | + | * <code>[[docker system prune --volumes]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | * <code>[[docker system | + | == Related commands == |
− | + | * <code>[[docker system df]]</code> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
* {{docker system}} | * {{docker system}} | ||
− | * {{ | + | * {{docker}} |
+ | |||
[[Category:docker]] | [[Category:docker]] |
Advertising: