It is because try to keep compatible with the old behavior. Before
https://issues.apache.org/jira/browse/MESOS-1925, only support use `docker
kill` to stop docker containers. You could specific --docker_stop_timeout
if your want to make docker exit gracefully.

On Wed, Oct 26, 2016 at 4:33 PM, Hendrik Haddorp <[email protected]>
wrote:

> Hi,
>
> what's the reason the the docker stop timeout is set to 0?
>
> http://mesos.apache.org/documentation/latest/configuration/
> --docker_stop_timeout=VALUE    The time docker daemon waits after stopping
> a container before killing that container.
>                                                     This flag is
> deprecated; use task's kill policy instead. (default: 0ns)
>
> Without changing this containers can not be gracefully stopped. Wouldn't a
> value of say 10 seconds be better?
>
> thanks,
> Hendrik
>



-- 
Best Regards,
Haosdent Huang

Reply via email to