Description
When running a system prune with filter, the warning message doesn't reflect that the filter will be used.
We should display that the elements pruned will be filtered.
Describe the results you received:
$ docker system prune --filter=label=foo Tue 30 Jan 2018 03:16:42 PM PST
WARNING! This will remove:
- all stopped containers
- all networks not used by at least one container
- all dangling images
- all build cache
# […]
Describe the results you expected:
Same message but that acknowledge the filtering.