From ea098ac53e6499f0b46b85d679611b824f0c4210 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Mon, 12 Jun 2017 10:15:06 +0000 Subject: [PATCH] Only retain IP addresses for running containers --- prog/weaver/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prog/weaver/main.go b/prog/weaver/main.go index d2c72533..1532572f 100644 --- a/prog/weaver/main.go +++ b/prog/weaver/main.go @@ -392,7 +392,7 @@ func main() { observeContainers(allocator) if dockerCli != nil { - allContainerIDs, err := dockerCli.AllContainerIDs() + allContainerIDs, err := dockerCli.RunningContainerIDs() checkFatal(err) allocator.PruneOwned(allContainerIDs) }