Merge pull request #2615 from jpoimboe/ghost-networking-fix

setup network when reconnecting to ghost container
Upstream-commit: 126b17a0fff9dad720ab8e60563e7f92d781bd93
Component: engine
This commit is contained in:
Guillaume J. Charmes
2013-11-08 15:31:55 -08:00
+1
View File
@@ -172,6 +172,7 @@ func (runtime *Runtime) Register(container *Container) error {
if !container.State.Running {
close(container.waitLock)
} else if !nomonitor {
container.allocateNetwork()
go container.monitor()
}
return nil