docker.container-ls

Collect information about one or more containers

docker.container-ls

type object

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 API

  • Before - Option to be used to filter the list of containers, as in The Docker API

  • Filters - Option to be used to filter the list of containers, as in The Docker API

  • Latest - Option to be used to filter the list of containers, as in The Docker API

  • Limit - Option to be used to filter the list of containers, as in The Docker API

  • Quiet - Option to be used to filter the list of containers, as in The Docker API

  • Since - Option to be used to filter the list of containers, as in The Docker API

  • Size - 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