mirror of https://github.com/docker/cli.git
Support multiple service IDs on "docker service ps"
This fix tries to address issue raised in 25228 to support multiple service IDs on `docker service ps`. Multiple IDs are allowed with `docker service ps ...`, and related documentation has been updated. A test has been added to cover the changes. This fix fixes 25228. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
parent
1471f8013b
commit
0645bd841e
|
@ -19,7 +19,7 @@ aliases: ["/engine/reference/commandline/service_tasks/"]
|
||||||
```Markdown
|
```Markdown
|
||||||
Usage: docker service ps [OPTIONS] SERVICE
|
Usage: docker service ps [OPTIONS] SERVICE
|
||||||
|
|
||||||
List the tasks of a service
|
List the tasks of one or more services
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-f, --filter filter Filter output based on conditions provided
|
-f, --filter filter Filter output based on conditions provided
|
||||||
|
@ -29,7 +29,7 @@ Options:
|
||||||
-q, --quiet Only display task IDs
|
-q, --quiet Only display task IDs
|
||||||
```
|
```
|
||||||
|
|
||||||
Lists the tasks that are running as part of the specified service. This command
|
Lists the tasks that are running as part of the specified services. This command
|
||||||
has to be run targeting a manager node.
|
has to be run targeting a manager node.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
Loading…
Reference in New Issue