moby/docs/api
Yong Tang 43a1bd564b Support --filter mode=global|replicated for docker service ls
This fix tries to address the request in 31325 by adding
`--filter mode=global|replicated` to `docker service ls`.

As `docker service ls` has a `MODE` column by default, it is natural
to support `--filter mode=global|replicated` for `docker service ls`.

There are multiple ways to address the issue. One way is to pass
the filter of mode to SwarmKit, another way is to process the filter
of mode in the daemon.

This fix process the filter in the daemon.

Related docs has been updated.

An integration test has been added.

This fix fixes 31325.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-03-15 11:06:57 -07:00
..
v1.18.md add link query in container rm api doc 2017-02-11 00:17:37 +08:00
v1.19.md add link query in container rm api doc 2017-02-11 00:17:37 +08:00
v1.20.md add link query in container rm api doc 2017-02-11 00:17:37 +08:00
v1.21.md Merge pull request #30265 from allencloud/add-CheckDuplicate-details-and-logic 2017-03-03 14:18:52 +01:00
v1.22.md Merge pull request #30265 from allencloud/add-CheckDuplicate-details-and-logic 2017-03-03 14:18:52 +01:00
v1.23.md Merge pull request #30265 from allencloud/add-CheckDuplicate-details-and-logic 2017-03-03 14:18:52 +01:00
v1.24.md Merge pull request #30265 from allencloud/add-CheckDuplicate-details-and-logic 2017-03-03 14:18:52 +01:00
version-history.md Support --filter mode=global|replicated for docker service ls 2017-03-15 11:06:57 -07:00