mirror of https://github.com/docker/docker-py.git
Update services.py
Signed-off-by: Aashutosh Rathi <aashutoshrathi@gmail.com>
This commit is contained in:
parent
f127a9ffdc
commit
c5cc23884a
|
|
@ -302,8 +302,8 @@ class RestartPolicy(dict):
|
||||||
condition (string): Condition for restart (``none``, ``on-failure``,
|
condition (string): Condition for restart (``none``, ``on-failure``,
|
||||||
or ``any``). Default: `none`.
|
or ``any``). Default: `none`.
|
||||||
delay (int): Delay between restart attempts. Default: 0
|
delay (int): Delay between restart attempts. Default: 0
|
||||||
attempts (int): Maximum attempts to restart a given container before
|
max_attempts (int): Maximum attempts to restart a given container
|
||||||
giving up. Default value is 0, which is ignored.
|
before giving up. Default value is 0, which is ignored.
|
||||||
window (int): Time window used to evaluate the restart policy. Default
|
window (int): Time window used to evaluate the restart policy. Default
|
||||||
value is 0, which is unbounded.
|
value is 0, which is unbounded.
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue