summaryrefslogtreecommitdiff
path: root/docker/models/containers.py
diff options
context:
space:
mode:
Diffstat (limited to 'docker/models/containers.py')
-rw-r--r--docker/models/containers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/models/containers.py b/docker/models/containers.py
index 259828a..6acc4bb 100644
--- a/docker/models/containers.py
+++ b/docker/models/containers.py
@@ -446,6 +446,8 @@ class ContainerCollection(Collection):
Args:
image (str): The image to run.
command (str or list): The command to run in the container.
+ auto_remove (bool): enable auto-removal of the container on daemon
+ side when the container's process exits.
blkio_weight_device: Block IO weight (relative device weight) in
the form of: ``[{"Path": "device_path", "Weight": weight}]``.
blkio_weight: Block IO weight (relative weight), accepts a weight