Merge pull request #1210 from weaveworks/401-proxy-start-events

make proxy attach network on docker start event
This commit is contained in:
Paul Bellamy committed 2015-09-15 10:18:48 +01:00
commit e39974eb07
8 files changed
+171 -43

No files matched your search

+3 -1
View File
@@ -61,6 +61,8 @@ func main() {
Log.Fatalf("Could not start proxy: %s", err)
}
go p.ListenAndServe()
listeners := p.Listen()
p.AttachExistingContainers()
go p.Serve(listeners)
SignalHandlerLoop()
}