From 1de614c3cf0920026321e9cd1e5e0805e1d4f782 Mon Sep 17 00:00:00 2001 From: Charlie Voiselle <464492+angrycub@users.noreply.github.com> Date: Thu, 23 Apr 2020 11:51:03 -0400 Subject: [PATCH] Disable dangling container GC for demo --- demo/vagrant/client1.hcl | 13 +++++++++++++ demo/vagrant/client2.hcl | 13 +++++++++++++ 2 files changed, 26 insertions(+) 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 + } + } + } +}