moby--moby/cli/command/network
Yong Tang 7025247324 Add `label` filter for `docker system prune`
This fix tries to address the issue raised in 29999 where it was not
possible to mask these items (like important non-removable stuff)
from `docker system prune`.

This fix adds `label` and `label!` field for `--filter` in `system prune`,
so that it is possible to selectively prune items like:
```
$ docker container prune --filter label=foo

$ docker container prune --filter label!=bar
```

Additional unit tests and integration tests have been added.

This fix fixes 29999.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-04-06 09:11:25 -07:00
..
cmd.go refactor help func in CLI 2016-11-17 10:54:10 -08:00
connect.go keep network option consistent between network connect and run 2017-01-04 19:54:03 +08:00
create.go Merge pull request #31709 from dnephin/better-errors 2017-03-28 10:17:46 +02:00
disconnect.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
inspect.go Enhance network inspect to show all tasks, local & non-local, in swarm mode 2017-03-13 17:52:08 -07:00
list.go Update docs of `docker network ls --filter` 2016-11-24 08:14:36 -08:00
prune.go Add `label` filter for `docker system prune` 2017-04-06 09:11:25 -07:00
remove.go Allow user to modify ingress network 2017-03-26 15:46:18 -07:00