diff --git a/demo/vagrant/client1.hcl b/demo/vagrant/client1.hcl index 6ba1e5fc9..15c3c8ec9 100644 --- a/demo/vagrant/client1.hcl +++ b/demo/vagrant/client1.hcl @@ -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 + } + } + } +} diff --git a/demo/vagrant/client2.hcl b/demo/vagrant/client2.hcl index d1a42737f..6109260d8 100644 --- a/demo/vagrant/client2.hcl +++ b/demo/vagrant/client2.hcl @@ -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 + } + } + } +}