Files
nomad/drivers/docker
Tim Gross a1bfc0320e docker: kill signal API should include timeout context
When the Docker driver kills as task, we send a request via the Docker API for
dockerd to fire the signal. We send that signal and then block for the
`kill_timeout` waiting for the container to exit. But if the Docker API
blocks, we will block indefinitely because we haven't configured the API call
with the same timeout.

This changeset is a minimal intervention to add the timeout to the Docker API
call _only_ when we have the `kill_timeout` set. Future work should examine
whether we should be threading contexts through other `go-dockerclient` API
calls.
2020-12-02 16:51:57 -05:00
..
2020-05-26 11:04:04 -04:00
2020-11-02 09:28:02 -05:00
2019-02-22 14:19:58 +01:00
2020-11-11 12:30:00 -08:00
2020-03-28 17:29:04 +01:00
2020-11-11 12:30:00 -08:00
2020-03-28 17:29:06 +01:00