docker.service-ls
Collect a list of docker swarm services
collect:
v1:
- docker.service-ls:
output_dir: /swarm/services/list/
description: List of all services starting with `cooltool-`
Filters:
name:
- cooltool-
Optional Parameters
Filters
- Same as would be passed todocker service ls
Outputs
service_ls.json
- JSON output
Shared Parameters
This spec also inherits all of the required and optional Shared Parameters