filters, for images: start with untagged/tagged boolean
This is a new feature and flag. (replaces the suggestion of a flag for --untagged images). The concept is to have a syntax to filter. This begins with this filtering for the 'images' subcommand, and at that only filtering for whether images are untagged. example like: docker rmi $(docker images -q --filter 'untagged=true') Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts) Upstream-commit: 5f3812ec97f9a951bceb482fdcd355b6cbc1b113 Component: engine
This commit is contained in:
@ -188,6 +188,8 @@ func getImagesJSON(eng *engine.Engine, version version.Version, w http.ResponseW
|
||||
job = eng.Job("images")
|
||||
)
|
||||
|
||||
job.Setenv("filters", r.Form.Get("filters"))
|
||||
// FIXME rename this parameter, to not be confused with the filters flag
|
||||
job.Setenv("filter", r.Form.Get("filter"))
|
||||
job.Setenv("all", r.Form.Get("all"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user