mirror of https://github.com/docker/docs.git
Fix restart policy description (#5927)
This commit is contained in:
parent
bb88d284f7
commit
b36b6d2c86
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue