docker.service-ls

Collect a list of docker swarm services

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 to docker service ls

Outputs

  • service_ls.json - JSON output


Shared Parameters

This spec also inherits all of the required and optional Shared Parameters