Merge pull request #1210 from weaveworks/401-proxy-start-events
make proxy attach network on docker start event
This commit is contained in:
commit
e39974eb07
8 files changed
+171
-43
No files matched your search
@@ -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()
|
||||
}
|
||||
Reference in new issue
Block a user