mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add RestartPolicy "no" to swagger docs
Signed-off-by: Tobias Gesellchen <tobias@gesellix.de> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
6e05fa7076
commit
90294e9bdb
1 changed files with 2 additions and 0 deletions
|
@ -382,11 +382,13 @@ definitions:
|
||||||
type: "string"
|
type: "string"
|
||||||
description: |
|
description: |
|
||||||
- Empty string means not to restart
|
- Empty string means not to restart
|
||||||
|
- `no` Do not automatically restart
|
||||||
- `always` Always restart
|
- `always` Always restart
|
||||||
- `unless-stopped` Restart always except when the user has manually stopped the container
|
- `unless-stopped` Restart always except when the user has manually stopped the container
|
||||||
- `on-failure` Restart only when the container exit code is non-zero
|
- `on-failure` Restart only when the container exit code is non-zero
|
||||||
enum:
|
enum:
|
||||||
- ""
|
- ""
|
||||||
|
- "no"
|
||||||
- "always"
|
- "always"
|
||||||
- "unless-stopped"
|
- "unless-stopped"
|
||||||
- "on-failure"
|
- "on-failure"
|
||||||
|
|
Loading…
Reference in a new issue