diff options
author | Joffrey F <joffrey@docker.com> | 2017-01-25 16:45:59 -0800 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2017-01-25 16:45:59 -0800 |
commit | 848b7aa6a4721a58831d3d9c611cc261217a1b4b (patch) | |
tree | 1383d6661613e945769ad6f79f2b42fcf35a5a56 /docker/api/container.py | |
parent | 4ff77dc1c910e07117c925cf0f9784529f3bd8d5 (diff) | |
download | docker-py-autoremove_support.tar.gz |
Add support for auto_remove in HostConfigautoremove_support
Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'docker/api/container.py')
-rw-r--r-- | docker/api/container.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/api/container.py b/docker/api/container.py index efcae9b..482b7b6 100644 --- a/docker/api/container.py +++ b/docker/api/container.py @@ -457,6 +457,8 @@ class ContainerApiMixin(object): :py:meth:`create_container`. Args: + auto_remove (bool): enable auto-removal of the container on daemon + side when the container's process exits. binds (dict): Volumes to bind. See :py:meth:`create_container` for more information. blkio_weight_device: Block IO weight (relative device weight) in |