Add destroy_grace_seconds option to stop container before delete (#7513)

This commit is contained in:
JB Arsenault 2016-07-11 11:03:02 -04:00 committed by Paul Stack
parent 44639f3ba5
commit 3268ac3604

View file

@ -79,6 +79,7 @@ The following arguments are supported:
* `network_mode` - (Optional, string) Network mode of the container.
* `networks` - (Optional, set of strings) Id of the networks in which the
container is.
* `destroy_grace_seconds` - (Optional, int) If defined will attempt to stop the container before destroying. Container will be destroyed after `n` seconds or on successful stop.
<a id="ports"></a>
### Ports