Wait time before killing containers during service upgrades

Is there any support for something similar to “docker stop --time=N” for service upgrades? Some of our containers can take more than the default 10 seconds to wrap up and I’d like for the service upgrade to wait a specified time before killing the old container.

Thanks,
-G

does this post help you?