mirror of https://github.com/docker/docs.git
Revert "Fix docs for "unless-stopped" restart policy (#6287)"
This reverts commit 07fade089b
.
This commit is contained in:
parent
249e31d0cd
commit
b679d3412c
|
@ -28,7 +28,7 @@ any of the following:
|
|||
|:-----------------|:------------------------------------------------------------------------------------------------|
|
||||
| `no` | Do not automatically restart the container. (the default) |
|
||||
| `on-failure` | Restart the container if it exits due to an error, which manifests as a non-zero exit code. |
|
||||
| `unless-stopped` | Restart the container unless it is explicitly stopped. |
|
||||
| `unless-stopped` | Restart the container unless it is explicitly stopped or Docker itself is stopped or restarted. |
|
||||
| `always` | Always restart the container if it stops. |
|
||||
|
||||
The following example starts a Redis container and configures it to always
|
||||
|
|
Loading…
Reference in New Issue