X Tutup
Skip to content

docker system prune warn message should display filters if any #850

@vdemeester

Description

@vdemeester

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup