docker.container-ls
Collect information about one or more containers
collect:
v1:
- docker.container-ls:
output_dir: /docker/cooltool/containers/
All: true
Filters:
name:
- www
- haproxy
Optional Parameters
All- Option to be used to filter the list of containers, as in The Docker APIBefore- Option to be used to filter the list of containers, as in The Docker APIFilters- Option to be used to filter the list of containers, as in The Docker APILatest- Option to be used to filter the list of containers, as in The Docker APILimit- Option to be used to filter the list of containers, as in The Docker APIQuiet- Option to be used to filter the list of containers, as in The Docker APISince- Option to be used to filter the list of containers, as in The Docker APISize- Option to be used to filter the list of containers, as in The Docker API
Outputs
container_ls.json- JSON output
Shared Parameters
This spec also inherits all of the required and optional Shared Parameters