Fix restart policy description (#5927)

This commit is contained in:
Wadim Kruse 2018-02-06 18:02:36 +01:00 committed by Misty Stanley-Jones
parent bb88d284f7
commit b36b6d2c86
1 changed files with 1 additions and 1 deletions

View File

@ -1179,7 +1179,7 @@ then read-write is used.
### restart
`no` is the default restart policy, and it does restart a container under any circumstance. When `always` is specified, the container always restarts. The `on-failure` policy restarts a container if the exit code indicates an on-failure error.
`no` is the default restart policy, and it doesn't restart a container under any circumstance. When `always` is specified, the container always restarts. The `on-failure` policy restarts a container if the exit code indicates an on-failure error.
- restart: no
- restart: always