moby/cli/config
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
..
configfile Add label filter for docker system prune 2017-04-06 09:11:25 -07:00
credentials Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
config.go Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
config_test.go Move package cliconfig to cli/config 2016-12-25 20:31:52 +01:00