mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #30000 from ralphtheninja/master
Attempts -> MaxAttempts in /services/create
(cherry picked from commit 4166801f60
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
27fb9af0e6
commit
03ed0afa29
1 changed files with 1 additions and 1 deletions
|
@ -4689,7 +4689,7 @@ image](#create-an-image) section for more details.
|
||||||
as part of this service.
|
as part of this service.
|
||||||
- **Condition** – Condition for restart (`none`, `on-failure`, or `any`).
|
- **Condition** – Condition for restart (`none`, `on-failure`, or `any`).
|
||||||
- **Delay** – Delay between restart attempts.
|
- **Delay** – Delay between restart attempts.
|
||||||
- **Attempts** – Maximum attempts to restart a given container before giving up (default value
|
- **MaxAttempts** – Maximum attempts to restart a given container before giving up (default value
|
||||||
is 0, which is ignored).
|
is 0, which is ignored).
|
||||||
- **Window** – Windows is the time window used to evaluate the restart policy (default value is
|
- **Window** – Windows is the time window used to evaluate the restart policy (default value is
|
||||||
0, which is unbounded).
|
0, which is unbounded).
|
||||||
|
|
Loading…
Add table
Reference in a new issue