Fix docs for "unless-stopped" restart policy (#6287)

This commit is contained in:
adw1n 2018-03-23 12:50:54 +00:00 committed by Gwendolynne Barr
parent b419d141e1
commit 07fade089b
1 changed files with 1 additions and 1 deletions

View File

@ -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