moby/docs/reference/commandline
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
..
attach.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
build.md Remove incorrect duplicate phrase from build.md 2017-02-27 17:05:24 -05:00
cli.md remove Jekyll tags from CLI reference 2017-03-02 02:14:15 +01:00
commit.md remove Jekyll tags from CLI reference 2017-03-02 02:14:15 +01:00
container_prune.md remove Jekyll tags from CLI reference 2017-03-02 02:14:15 +01:00
cp.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
create.md Fix description of docker run|create --stop-signal in help message 2017-03-09 09:32:16 +01:00
deploy.md Add --prune to stack deploy. 2017-03-14 16:09:28 -04:00
diff.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
dockerd.md Remove docs for dockerd --no-new-privileges 2017-03-14 10:00:14 +01:00
events.md remove Jekyll tags from CLI reference 2017-03-02 02:14:15 +01:00
exec.md fix typo 2017-02-13 15:47:38 +08:00
export.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
history.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
image_prune.md remove Jekyll tags from CLI reference 2017-03-02 02:14:15 +01:00
images.md remove Jekyll tags from CLI reference 2017-03-02 02:14:15 +01:00
import.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
index.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
info.md remove Jekyll tags from CLI reference 2017-03-02 02:14:15 +01:00
inspect.md remove Jekyll tags from CLI reference 2017-03-02 02:14:15 +01:00
kill.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
load.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
login.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
logout.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
logs.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
network_connect.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
network_create.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
network_disconnect.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
network_inspect.md Enhance network inspect to show all tasks, local & non-local, in swarm mode 2017-03-13 17:52:08 -07:00
network_ls.md Fix markdown in references for Kramdown 2017-03-12 12:01:06 -07:00
network_prune.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
network_rm.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
node_demote.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
node_inspect.md remove Jekyll tags from CLI reference 2017-03-02 02:14:15 +01:00
node_ls.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
node_promote.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
node_ps.md Add --format to docker service ps 2017-02-10 16:53:04 -08:00
node_rm.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
node_update.md Merge pull request #30814 from YuPengZTE/devSwarmCliExplain 2017-02-21 00:59:58 +01:00
pause.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
plugin_create.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
plugin_disable.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
plugin_enable.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
plugin_inspect.md remove Jekyll tags from CLI reference 2017-03-02 02:14:15 +01:00
plugin_install.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
plugin_ls.md remove Jekyll tags from CLI reference 2017-03-02 02:14:15 +01:00
plugin_push.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
plugin_rm.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
plugin_set.md remove Jekyll tags from CLI reference 2017-03-02 02:14:15 +01:00
plugin_upgrade.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
port.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
ps.md Fix markdown in references for Kramdown 2017-03-12 12:01:06 -07:00
pull.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
push.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
rename.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
restart.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
rm.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
rmi.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
run.md Fix typo in run.md documentation 2017-03-09 13:08:48 -05:00
save.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
search.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
secret_create.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
secret_inspect.md remove Jekyll tags from CLI reference 2017-03-02 02:14:15 +01:00
secret_ls.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
secret_rm.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
service_create.md Fix markdown in references for Kramdown 2017-03-12 12:01:06 -07:00
service_inspect.md remove Jekyll tags from CLI reference 2017-03-02 02:14:15 +01:00
service_logs.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
service_ls.md Support --filter mode=global|replicated for docker service ls 2017-03-15 11:06:57 -07:00
service_ps.md Add --format to docker service ps 2017-02-10 16:53:04 -08:00
service_rm.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
service_scale.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
service_update.md Add support for rollback flags 2017-03-03 16:33:34 -08:00
stack_deploy.md Add --prune to stack deploy. 2017-03-14 16:09:28 -04:00
stack_ls.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
stack_ps.md Add --format to docker service ps 2017-02-10 16:53:04 -08:00
stack_rm.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
stack_services.md Fix markdown in references for Kramdown 2017-03-12 12:01:06 -07:00
start.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
stats.md remove Jekyll tags from CLI reference 2017-03-02 02:14:15 +01:00
stop.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
swarm_init.md Merge pull request #30814 from YuPengZTE/devSwarmCliExplain 2017-02-21 00:59:58 +01:00
swarm_join.md Merge pull request #30814 from YuPengZTE/devSwarmCliExplain 2017-02-21 00:59:58 +01:00
swarm_join_token.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
swarm_leave.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
swarm_unlock.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
swarm_unlock_key.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
swarm_update.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
system_df.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
system_prune.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
tag.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
top.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
unpause.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
update.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
version.md remove Jekyll tags from CLI reference 2017-03-02 02:14:15 +01:00
volume_create.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
volume_inspect.md remove Jekyll tags from CLI reference 2017-03-02 02:14:15 +01:00
volume_ls.md remove Jekyll tags from CLI reference 2017-03-02 02:14:15 +01:00
volume_prune.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
volume_rm.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00
wait.md Standardized formatting of CLI reference commands 2017-02-08 16:57:58 -08:00