Merge pull request #30000 from ralphtheninja/master
Attempts -> MaxAttempts in /services/create Upstream-commit: 4166801f606b54987fb9a3fda447fc71d3cd0c28 Component: engine
This commit is contained in:
@ -4678,7 +4678,7 @@ image](#create-an-image) section for more details.
|
||||
as part of this service.
|
||||
- **Condition** – Condition for restart (`none`, `on-failure`, or `any`).
|
||||
- **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).
|
||||
- **Window** – Windows is the time window used to evaluate the restart policy (default value is
|
||||
0, which is unbounded).
|
||||
|
||||
Reference in New Issue
Block a user