diff options
author | Joffrey F <joffrey@docker.com> | 2017-05-17 18:12:26 -0700 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2017-06-16 17:02:59 -0700 |
commit | 1ea6618b09e3a74531a0fed1d44a5d698afe2339 (patch) | |
tree | 201b69c54d324bebac1588e5560d0289fa450f33 /docker/api/container.py | |
parent | 8645d1d41b69763b7dfb4dd0cbe3a3ab2d7f5321 (diff) | |
download | docker-py-healthcheck-start-period.tar.gz |
Add support for start_period in Healthcheck spechealthcheck-start-period
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 97a39b6..5668b43 100644 --- a/docker/api/container.py +++ b/docker/api/container.py @@ -418,6 +418,8 @@ class ContainerApiMixin(object): networking_config (dict): A networking configuration generated by :py:meth:`create_networking_config`. runtime (str): Runtime to use with this container. + healthcheck (dict): Specify a test to perform to check that the + container is healthy. Returns: A dictionary with an image 'Id' key and a 'Warnings' key. |