Only retain IP addresses for running containers
This commit is contained in:
1 parent
a0d0b00938
commit
ea098ac53e
1 file changed
+1
-1
+1
-1
@@ -392,7 +392,7 @@ func main() {
|
|||||||
observeContainers(allocator)
|
observeContainers(allocator)
|
||||||
|
|
||||||
if dockerCli != nil {
|
if dockerCli != nil {
|
||||||
allContainerIDs, err := dockerCli.AllContainerIDs()
|
allContainerIDs, err := dockerCli.RunningContainerIDs()
|
||||||
checkFatal(err)
|
checkFatal(err)
|
||||||
allocator.PruneOwned(allContainerIDs)
|
allocator.PruneOwned(allContainerIDs)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user