1
0
Fork 0
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
This commit is contained in:
Vincent Demeester 2017-01-09 16:48:56 +01:00 committed by GitHub
commit 4166801f60

View file

@ -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).