Difference between revisions of "Docker volume prune"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
== Related commands == | == Related commands == | ||
* <code>[[docker network prune]]</code> | * <code>[[docker network prune]]</code> | ||
+ | * <code>[[docker volume ls]]</code> | ||
== See also == | == See also == |
Latest revision as of 11:35, 24 November 2020
docker volume prune WARNING! This will remove all local volumes not used by at least one container. Are you sure you want to continue? [y/N] y Deleted Volumes: c84066e79f9b9e98783151d9c1ae851fe42771e2e4b459194f70bd7b82ab1eca 7fa8b417687642681c8960085466482aa934f0265c1576da6233f95a1dd19021 fbfa59d13e3ceac006474417063f29e5065d28d3cb976115e2df6743613730f6 3a0dfd0dc44f44fc693428bf2159c1052248793aba3e54ad51f69f14b22759f6 9dae4c65cda5ec0b338a6daec37a051eb9eb70aca91a8f55723c9ca587bff400 099448adab280c02c5814827b0f7238d58db2a19a0054baa6561395539061f75 f0d03ab7b4f8b7b0b959a80cde6e4a7280565ff2a7af183ff0e295c80032bd61 a547d62e46dc5dc1e5324b4eb3f21d5d990336f09409408e0915b306f2644304 Total reclaimed space: 0B
Related commands[edit]
See also[edit]
docker volume create --name VOLUME_NAME
docker volume ls
: https://docs.docker.com/engine/reference/commandline/volume_ls/docker volume rm VOLUME_NAME
docker volume
: https://docs.docker.com/engine/reference/commandline/volume/docker volume inspect VOLUME
: https://docs.docker.com/engine/reference/commandline/volume_inspect/docker inspect -f '{{ .Mounts }}' CONTAINER_NAME
docker volumes prune
docker system prune --volumes
Advertising: