open-nomad/drivers
Tim Gross d286d941dc 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
..
docker docker: kill signal API should include timeout context 2020-12-02 16:51:57 -05:00
exec tests: ignore empty cgroup 2020-10-01 10:23:13 -04:00
java Fix for Java fingerprinter on macOS (#9225) 2020-11-01 13:20:31 -05:00
mock cleanup driver eventor goroutines 2020-05-26 11:04:04 -04:00
qemu add a allowlist for qemu image paths 2020-06-24 08:03:19 -04:00
rawexec honor task user when execing into raw_exec task (#9439) 2020-11-25 09:34:10 -05:00
shared use comment ignores (#9448) 2020-11-25 16:03:01 -05:00