DockerCLI/cli/command/system
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 docker info: don't print "registry" (IndexServerAddress) 2023-04-13 14:49:14 +02:00
client_test.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
cmd.go Revert "Disable `docker system dial-stdio` on Windows" 2019-03-12 14:57:52 +00:00
df.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
dial_stdio.go Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
events.go format code with gofumpt 2022-09-30 11:59:11 +02:00
info.go docker info: fix condition for printing debug information 2023-06-30 15:15:38 +02:00
info_test.go cli/command/system: add utilities for printing 2023-05-02 16:55:12 +02:00
inspect.go format code with gofumpt 2022-09-30 11:59:11 +02:00
prune.go Update docs/command output for volume pruning 2023-08-25 17:03:13 +02:00
prune_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
version.go cli/command/system: add newClientVersion() utility 2023-04-11 18:58:41 +02:00
version_test.go fix docker version --format=json not outputting json format 2023-04-10 14:29:14 +02:00