DockerCLI/cli/command/volume
Ed Morley 08ad72160f
Update docs/command output for volume pruning
In previous versions of the Docker API, `system prune --volumes` and `volume prune`
would remove all dangling volumes. With API v1.42, this was changed so that only
anonymous volumes would be removed unless the all filter was specified.

Some of the docs were updated in #4218, however, there were a couple of places
left that didn't make the anonymous vs named volumes distinction clear.

This replaces #4079, which was bitrotted by #4218. See also #4028.

Closes #4079.

Signed-off-by: Ed Morley <501702+edmorley@users.noreply.github.com>
(cherry picked from commit 6e2e92d774)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-25 17:03:13 +02:00
..
testdata volumes: prune: add --all / -a option 2023-04-20 23:31:47 +02:00
client_test.go vendor: github.com/docker/docker master (v24.0.0-dev) 2023-03-30 19:56:28 +02:00
cmd.go Add cluster volume support 2022-05-13 20:06:11 +02:00
create.go cmd: set double quotes as code delimiter 2023-01-06 19:15:33 +01:00
create_test.go cli/command/volume: suppress err output in tests 2023-03-21 13:21:20 +01:00
inspect.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
inspect_test.go cli/command/volume: suppress err output in tests 2023-03-21 13:21:20 +01:00
list.go vendor: github.com/docker/docker master (v24.0.0-dev) 2023-03-30 19:56:28 +02:00
list_test.go cli/command/volume: suppress err output in tests 2023-03-21 13:21:20 +01:00
prune.go Update docs/command output for volume pruning 2023-08-25 17:03:13 +02:00
prune_test.go volumes: prune: add --all / -a option 2023-04-20 23:31:47 +02:00
remove.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
remove_test.go cli/command/volume: suppress err output in tests 2023-03-21 13:21:20 +01:00
update.go cmd: set double quotes as code delimiter 2023-01-06 19:15:33 +01:00