open-nomad/drivers/docker
Danielle Tomlinson 272a8726d7 docker: Terminate dockerlogger
Previously, we did not attempt to stop Docker Logger processes until
DestroyTask, which means that under many circumstances, we will never
successfully close the plugin client.

This commit terminates the plugin process when `run` terminates, or when
`DestroyTask` is called.

Steps to repro:

```
$ nomad agent -dev
$ nomad init
$ nomad run example.nomad
$ nomad stop example
$ ps aux | grep nomad # See docker logger process running
$ signal the dev agent
$ ps aux | grep nomad # See docker logger process running
```
2019-01-15 14:58:05 +01:00
..
cmd Plugins use parent loggers 2019-01-11 11:36:37 -08:00
docklog Plugins use parent loggers 2019-01-11 11:36:37 -08:00
test-resources/docker tests: pin busybox image to a specific point tag 2018-12-15 15:03:56 -05:00
config.go executor: fix failing stats related test 2019-01-12 12:18:23 -05:00
coordinator.go docker: unexport new coordinator func 2018-11-19 23:07:07 -05:00
coordinator_test.go docker: unexport new coordinator func 2018-11-19 23:07:07 -05:00
driver.go docker: Terminate dockerlogger 2019-01-15 14:58:05 +01:00
driver_darwin_test.go tests: run docker tests in macOS out of box 2019-01-08 14:35:40 -05:00
driver_default.go docker: started work on porting docker driver to new plugin framework 2018-11-19 22:59:15 -05:00
driver_linux_test.go tests: helper function for checking docker presense 2019-01-07 08:27:06 -05:00
driver_test.go executor: implement streaming stats API 2019-01-12 12:18:22 -05:00
driver_unix_test.go docker: add default blocks for driver plugin config schema 2018-11-19 22:59:18 -05:00
driver_windows.go docker: started work on porting docker driver to new plugin framework 2018-11-19 22:59:15 -05:00
fingerprint.go Standardize driver health description messages for all drivers 2019-01-06 22:06:38 -06:00
handle.go docker: Terminate dockerlogger 2019-01-15 14:58:05 +01:00
progress.go docker: started work on porting docker driver to new plugin framework 2018-11-19 22:59:15 -05:00
progress_test.go docker: started work on porting docker driver to new plugin framework 2018-11-19 22:59:15 -05:00
state.go docker: started work on porting docker driver to new plugin framework 2018-11-19 22:59:15 -05:00
stats.go docker: add test for stats collection 2019-01-12 12:18:22 -05:00
stats_test.go docker: add test for stats collection 2019-01-12 12:18:22 -05:00
utils.go drivers/docker: enforce volumes.enabled (#4983) 2018-12-11 14:22:50 -05:00
utils_test.go drivers/docker: enforce volumes.enabled (#4983) 2018-12-11 14:22:50 -05:00