Add RestartPolicy "no" to swagger docs
Signed-off-by: Tobias Gesellchen <tobias@gesellix.de>
This commit is contained in:
parent
f95be5e2f3
commit
d741c14f1f
1 changed files with 2 additions and 0 deletions
|
@ -382,11 +382,13 @@ definitions:
|
|||
type: "string"
|
||||
description: |
|
||||
- Empty string means not to restart
|
||||
- `no` Do not automatically restart
|
||||
- `always` Always restart
|
||||
- `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
|
||||
enum:
|
||||
- ""
|
||||
- "no"
|
||||
- "always"
|
||||
- "unless-stopped"
|
||||
- "on-failure"
|
||||
|
|
Loading…
Reference in a new issue