mirror of https://github.com/docker/docker-py.git
Merge d42abdfaf8
into db7f8b8bb6
This commit is contained in:
commit
89552af6bf
|
@ -558,7 +558,8 @@ class ContainerApiMixin:
|
|||
restart_policy (dict): Restart the container when it exits.
|
||||
Configured as a dictionary with keys:
|
||||
|
||||
- ``Name`` One of ``on-failure``, or ``always``.
|
||||
- ``Name`` One of ``on-failure``, ``unless-stopped`` or
|
||||
``always``.
|
||||
- ``MaximumRetryCount`` Number of times to restart the
|
||||
container on failure.
|
||||
security_opt (:py:class:`list`): A list of string values to
|
||||
|
|
|
@ -744,7 +744,8 @@ class ContainerCollection(Collection):
|
|||
restart_policy (dict): Restart the container when it exits.
|
||||
Configured as a dictionary with keys:
|
||||
|
||||
- ``Name`` One of ``on-failure``, or ``always``.
|
||||
- ``Name`` One of ``on-failure``, ``unless-stopped`` or
|
||||
``always``.
|
||||
- ``MaximumRetryCount`` Number of times to restart the
|
||||
container on failure.
|
||||
|
||||
|
|
Loading…
Reference in New Issue