mirror of https://github.com/docker/docs.git
Fix docs for "unless-stopped" restart policy (#6287)
This commit is contained in:
parent
b419d141e1
commit
07fade089b
|
@ -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 or Docker itself is stopped or restarted. |
|
||||
| `unless-stopped` | Restart the container unless it is explicitly stopped. |
|
||||
| `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