mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
Merge pull request #7792 from angrycub/f-disable_dangling_container_gc
Disable dangling container GC for demo
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user