volumes: prune: add --all / -a option
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@ -1,2 +1,2 @@
|
||||
WARNING! This will remove all local volumes not used by at least one container.
|
||||
WARNING! This will remove anonymous local volumes not used by at least one container.
|
||||
Are you sure you want to continue? [y/N] Total reclaimed space: 0B
|
||||
|
||||
1
cli/command/volume/testdata/volume-prune-success.all-forced.golden
vendored
Normal file
1
cli/command/volume/testdata/volume-prune-success.all-forced.golden
vendored
Normal file
@ -0,0 +1 @@
|
||||
Total reclaimed space: 0B
|
||||
2
cli/command/volume/testdata/volume-prune-success.all.golden
vendored
Normal file
2
cli/command/volume/testdata/volume-prune-success.all.golden
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
WARNING! This will remove all local volumes not used by at least one container.
|
||||
Are you sure you want to continue? [y/N] Total reclaimed space: 0B
|
||||
2
cli/command/volume/testdata/volume-prune-success.label-filter.golden
vendored
Normal file
2
cli/command/volume/testdata/volume-prune-success.label-filter.golden
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
WARNING! This will remove anonymous local volumes not used by at least one container.
|
||||
Are you sure you want to continue? [y/N] Total reclaimed space: 0B
|
||||
@ -1,4 +1,4 @@
|
||||
WARNING! This will remove all local volumes not used by at least one container.
|
||||
WARNING! This will remove anonymous local volumes not used by at least one container.
|
||||
Are you sure you want to continue? [y/N] Deleted Volumes:
|
||||
foo
|
||||
bar
|
||||
|
||||
Reference in New Issue
Block a user