1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/cli/command
Yong Tang 58738cdee3 Add --filter until=<timestamp> for docker container/image prune
This fix is a follow up for comment
https://github.com/docker/docker/pull/28535#issuecomment-263215225

This fix provides `--filter until=<timestamp>` for `docker container/image prune`.

This fix adds `--filter until=<timestamp>` to `docker container/image prune`
so that it is possible to specify a timestamp and prune those containers/images
that are earlier than the timestamp.

Related docs has been updated

Several integration tests have been added to cover changes.

This fix fixes #28497.

This fix is related to #28535.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-01-04 14:16:42 -08:00
..
bundlefile Reinstate --bundle-file argument to 'docker deploy' 2016-11-10 11:28:18 -05:00
checkpoint Print checkpoint id when creating a checkpoint 2016-12-01 23:30:14 -05:00
commands Give a order to AddCommands, for easy read and maintenance. 2016-12-08 16:43:14 +08:00
container Add --filter until=<timestamp> for docker container/image prune 2017-01-04 14:16:42 -08:00
formatter Move templates to pkg/templates 2016-12-12 09:34:03 +01:00
idresolver service ps: Truncate Task IDs 2016-11-08 16:17:15 -08:00
image Add --filter until=<timestamp> for docker container/image prune 2017-01-04 14:16:42 -08:00
inspect Move templates to pkg/templates 2016-12-12 09:34:03 +01:00
network Add --filter until=<timestamp> for docker container/image prune 2017-01-04 14:16:42 -08:00
node Revert "Add -a option to service/node ps" 2016-11-28 18:08:45 +01:00
plugin Fix usage message of plugin inspect 2016-12-31 09:55:04 -08:00
prune Add --filter until=<timestamp> for docker container/image prune 2017-01-04 14:16:42 -08:00
registry change minor mistake of spelling 2016-12-20 21:05:19 +08:00
secret Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
service Merge pull request #25234 from yongtang/25228-service-ps-multiple-ID 2017-01-03 12:40:24 +01:00
stack Replace vendor of aanand/compose-file with a local copy. 2016-12-27 16:17:24 -05:00
swarm fix nits in comments 2016-12-27 23:30:50 +08:00
system Add --filter until=<timestamp> for docker container/image prune 2017-01-04 14:16:42 -08:00
task return directly without ifs in remaining packages 2016-12-14 23:28:27 +02:00
volume Merge pull request #26830 from dnephin/man-desc-in-files 2017-01-03 17:47:49 +01:00
cli.go Move package cliconfig to cli/config 2016-12-25 20:31:52 +01:00
events_utils.go Add subcommand prune to the container, volume, image and system commands 2016-09-29 07:42:53 -07:00
in.go Fix the incorrect description for NewInStream 2016-10-13 22:33:09 +08:00
out.go Windows: OCI process struct convergence 2016-09-19 10:34:31 -07:00
registry.go Add registry-specific credential helper support 2016-12-01 10:29:00 -08:00
trust.go Move image trust related cli methods into the image package. 2016-09-09 10:50:16 -04:00
utils.go Windows: Prompt fix 2016-12-09 14:27:53 -08:00