Add a new "is-task" ps filter

This makes it easier to list containers that are part of a task
(swarm mode) and those who are not.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Upstream-commit: 5280ba83e55b94b9d4973a15381e18eb10920233
Component: engine
This commit is contained in:
Vincent Demeester
2016-09-28 12:45:30 +02:00
parent f6b8936533
commit 48a609d72c
9 changed files with 72 additions and 2 deletions

View File

@ -130,6 +130,8 @@ This section lists each version from latest to oldest. Each listing includes a
instead of the default network if a trailing slash is provided, but no `name`
or `id`.
* `DELETE /containers/(name)` endpoint now returns an error of `removal of container name is already in progress` with status code of 400, when container name is in a state of removal in progress.
* `GET /containers/json` now supports a `is-task` filter to filter
containers that are tasks (part of a service in swarm mode).
### v1.24 API changes