open-nomad/drivers
Mahmood Ali 1d945994d0 docker: remove containers on creation failures
The docker creation API calls may fail with http errors (e.g. timeout)
even if container was successfully created.

Here, we force remove container if we got unexpected failure.  We
already do this in some error handlers, and this commit updates all
paths.

I stopped short from a more aggressive refactoring, as the code is ripe
for refactoring and would rather do that in another PR.
2019-09-18 08:45:59 -04:00
..
docker docker: remove containers on creation failures 2019-09-18 08:45:59 -04:00
exec Driver networking support 2019-07-31 01:03:20 -04:00
java plugins/driver: make DriverNetworkManager interface optional 2019-07-31 01:03:19 -04:00
mock ar: initial driver based network management 2019-07-31 01:03:17 -04:00
qemu fix qemu and update docker with tests 2019-09-04 11:27:51 -04:00
rawexec tests: enable raw_exec driver 2019-08-29 20:26:50 -04:00
rkt plugins/driver: make DriverNetworkManager interface optional 2019-07-31 01:03:19 -04:00
shared executor: cleanup netns handling in executor 2019-07-31 01:04:05 -04:00