open-nomad/drivers/docker
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
..
cmd
docklog
test-resources/docker
util
config.go docker: add option for Windows isolation modes (#15819) 2023-01-24 16:31:48 -05:00
config_test.go
coordinator.go docker: set force=true on remove image to handle images referenced by multiple tags (#15962) 2023-01-31 07:53:18 -06:00
coordinator_test.go docker: set force=true on remove image to handle images referenced by multiple tags (#15962) 2023-01-31 07:53:18 -06:00
driver.go renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
driver_darwin.go
driver_darwin_test.go
driver_default.go
driver_linux.go
driver_linux_test.go ci: swap freeport for portal in packages (#15661) 2023-01-03 11:25:20 -06:00
driver_test.go ci: swap freeport for portal in packages (#15661) 2023-01-03 11:25:20 -06:00
driver_unix_test.go ci: swap freeport for portal in packages (#15661) 2023-01-03 11:25:20 -06:00
driver_windows.go
driver_windows_test.go
fingerprint.go
fingerprint_test.go
handle.go
network.go Ensure infra_image gets proper label used for reconciliation (#15898) 2023-01-30 09:46:45 -06:00
network_test.go Ensure infra_image gets proper label used for reconciliation (#15898) 2023-01-30 09:46:45 -06:00
ports.go
ports_test.go
progress.go
progress_test.go
reconcile_cpuset.go
reconcile_cpuset_noop.go
reconcile_cpuset_test.go
reconcile_dangling.go
reconcile_dangling_test.go ci: swap freeport for portal in packages (#15661) 2023-01-03 11:25:20 -06:00
state.go
stats.go
stats_test.go
utils.go
utils_test.go
utils_unix_test.go
utils_windows_test.go
win32_volume_parse.go