Note that this flag is deprecated in Mesos 1.0.0 in favor of kill policies.

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

> right, that's what I found and it also works. I was just wondering if the
> default is a good choice.
>
> On 26.10.2016 11:45, haosdent wrote:
>
>> 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]
>> <mailto:[email protected]>> wrote:
>>
>>     Hi,
>>
>>     what's the reason the the docker stop timeout is set to 0?
>>
>>     http://mesos.apache.org/documentation/latest/configuration/
>>     <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