mirror of https://github.com/docker/cli.git
docs: fix description of restart-delay to mention max (1 minute)
Commit9bd3a7c029
(docker 17.04 and up) added a maximum timeout of 1 minute to the restart timeout. This patch updates the documentation to match the current behavior. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit47e5cfa9e9
) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
6c1c8b55aa
commit
d0014a86bc
|
@ -554,11 +554,11 @@ Docker supports the following restart policies:
|
|||
</tbody>
|
||||
</table>
|
||||
|
||||
An ever increasing delay (double the previous delay, starting at 100
|
||||
milliseconds) is added before each restart to prevent flooding the server.
|
||||
An increasing delay (double the previous delay, starting at 100 milliseconds)
|
||||
is added before each restart to prevent flooding the server.
|
||||
This means the daemon will wait for 100 ms, then 200 ms, 400, 800, 1600,
|
||||
and so on until either the `on-failure` limit is hit, or when you `docker stop`
|
||||
or `docker rm -f` the container.
|
||||
and so on until either the `on-failure` limit, the maximum delay of 1 minute is
|
||||
hit, or when you `docker stop` or `docker rm -f` the container.
|
||||
|
||||
If a container is successfully restarted (the container is started and runs
|
||||
for at least 10 seconds), the delay is reset to its default value of 100 ms.
|
||||
|
|
Loading…
Reference in New Issue