This content is associated with a legacy version of the Replicated product. For the current Replicated product documentation, see docs.replicated.com.
docker.service-ls
type object
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