open-nomad/drivers
Seth Hoenig 139f2c0b0f
docker: set force=true on remove image to handle images referenced by multiple tags (#15962)
* docker: set force=true on remove image to handle images referenced by multiple tags

This PR changes our call of docker client RemoveImage() to RemoveImageExtended with
the Force=true option set. This fixes a bug where an image referenced by more than
one tag could never be garbage collected by Nomad. The Force option only applies to
stopped containers; it does not affect running workloads.

* docker: add note about image_delay and multiple tags
2023-01-31 07:53:18 -06:00
..
docker docker: set force=true on remove image to handle images referenced by multiple tags (#15962) 2023-01-31 07:53:18 -06:00
exec chore: remove use of "err" a log line context key for errors. (#14433) 2022-09-01 15:06:10 +02:00
java chore: remove use of "err" a log line context key for errors. (#14433) 2022-09-01 15:06:10 +02:00
mock Merge branch 'main' into tlefebvre/fix-wrong-drivernetworkmanager-interface 2022-03-17 09:38:13 +01:00
qemu chore: remove use of "err" a log line context key for errors. (#14433) 2022-09-01 15:06:10 +02:00
rawexec chore: remove use of "err" a log line context key for errors. (#14433) 2022-09-01 15:06:10 +02:00
shared exec: allow running commands from host volume (#14851) 2022-11-11 09:51:15 -05:00