Merge pull request #7792 from angrycub/f-disable_dangling_container_gc

Disable dangling container GC for demo
This commit is contained in:
Charlie Voiselle
2020-04-24 23:12:16 -04:00
committed by GitHub
2 changed files with 26 additions and 0 deletions

View File

@@ -21,3 +21,16 @@ client {
ports {
http = 5656
}
# Because we will potentially have two clients talking to the same
# Docker daemon, we have to disable the dangling container cleanup,
# otherwise they will stop each other's work thinking it was orphaned.
plugin "docker" {
config {
gc {
dangling_containers {
enabled = false
}
}
}
}

View File

@@ -21,3 +21,16 @@ client {
ports {
http = 5657
}
# Because we will potentially have two clients talking to the same
# Docker daemon, we have to disable the dangling container cleanup,
# otherwise they will stop each other's work thinking it was orphaned.
plugin "docker" {
config {
gc {
dangling_containers {
enabled = false
}
}
}
}