Support old restart policy in compose v3

This commit is contained in:
Hang Yan
2018-03-07 13:35:36 +08:00
parent 47a8bfc0ea
commit 723bd0f9d8
7 changed files with 241 additions and 4 deletions
+1
View File
@@ -373,6 +373,7 @@ If you want to create normal pods without controllers you can use `restart` cons
|----------------------------|-------------------|---------------------|
| `""` | controller object | `Always` |
| `always` | controller object | `Always` |
| `unless-stopped` | controller object | `Always` |
| `on-failure` | Pod | `OnFailure` |
| `no` | Pod | `Never` |