DockerCLI/cli/command/system
Ed Morley 6e2e92d774
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>
2023-08-12 14:22:23 +01:00
..
testdata vendor: github.com/docker/docker 4b19b2f4babd (25.0-dev) 2023-08-08 09:41:47 +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 replace some basic uses of fmt.Sprintf() 2023-06-12 19:03:49 +02:00
info.go replace uses of deprecated api/types that moved to api/types/system 2023-07-15 01:20:49 +02:00
info_test.go replace uses of deprecated api/types that moved to api/types/system 2023-07-15 01:20:49 +02:00
inspect.go replace uses of client.IsErrNotFound for errdefs.IsNotFound 2023-05-11 23:09:29 +02:00
prune.go Update docs/command output for volume pruning 2023-08-12 14:22:23 +01: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