diff options
author | Matthieu Nottale <matthieu.nottale@docker.com> | 2018-03-14 15:30:30 +0100 |
---|---|---|
committer | Joffrey F <f.joffrey@gmail.com> | 2018-04-25 17:55:16 -0700 |
commit | 0b289bc79e5e887d348d2a20918d8a5661063563 (patch) | |
tree | 6f04a46906d904b8f9c111d949d48814aed5e7aa | |
parent | a1587e77c5d47a1e4815f9c29a6eb36db8156cb4 (diff) | |
download | docker-py-0b289bc79e5e887d348d2a20918d8a5661063563.tar.gz |
Add sparse argument to DockerClient.containers.list().
Signed-off-by: Matthieu Nottale <matthieu.nottale@docker.com>
-rw-r--r-- | docker/models/containers.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/models/containers.py b/docker/models/containers.py index 1e06ed6..2a46a69 100644 --- a/docker/models/containers.py +++ b/docker/models/containers.py @@ -873,6 +873,9 @@ class ContainerCollection(Collection): container. Give the container name or id. - `since` (str): Only containers created after a particular container. Give container name or id. + sparse (bool): Do not inspect containers. Returns partial + informations, but guaranteed not to block. Use reload() on + each container to get the full list of attributes. A comprehensive list can be found in the documentation for `docker ps |