|
@@ -308,10 +308,12 @@ definitions:
|
|
Name:
|
|
Name:
|
|
type: "string"
|
|
type: "string"
|
|
description: |
|
|
description: |
|
|
|
|
+ - Empty string means not to 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:
|
|
|
|
+ - ""
|
|
- "always"
|
|
- "always"
|
|
- "unless-stopped"
|
|
- "unless-stopped"
|
|
- "on-failure"
|
|
- "on-failure"
|