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
(cherry picked from commit 4166801f60)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Vincent Demeester 2017-01-09 16:48:56 +01:00 committed by Sebastiaan van Stijn
parent 27fb9af0e6
commit 03ed0afa29
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -4689,7 +4689,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).