open-nomad/drivers/docker
Mahmood Ali 9721fd22f9 docker: Fix docker image gc tracking
This fixes a bug where docker images may not be GCed.  The cause of the
bug is that we track the task using `task.ID+task.Name` on task start
but remove on plain `task.ID`.

This haromize the two paths by using `task.ID`, as it's unique enough
and it's also used in the `loadImage` path (path when loading an image
from a local tarball instead of dockerhub).
2020-05-13 12:33:17 -04:00
..
cmd
docklog
test-resources/docker
util
config.go use allow_runtimes for consistency 2020-05-12 11:03:08 -04:00
config_test.go use allow_runtimes for consistency 2020-05-12 11:03:08 -04:00
coordinator.go
coordinator_test.go
driver.go docker: Fix docker image gc tracking 2020-05-13 12:33:17 -04:00
driver_darwin_test.go
driver_default.go
driver_linux_test.go
driver_pre09.go
driver_test.go update tests 2020-05-12 11:39:09 -04:00
driver_unix_test.go
driver_windows.go
driver_windows_test.go
fingerprint.go
fingerprint_test.go
handle.go
network.go
progress.go
progress_test.go
reconciler.go
reconciler_test.go
state.go
stats.go
stats_test.go
utils.go
utils_test.go
utils_unix_test.go
utils_windows_test.go
win32_volume_parse.go