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

setup network when reconnecting to ghost container
This commit is contained in:
Guillaume J. Charmes 2013-11-08 15:31:55 -08:00
commit 126b17a0ff
1 changed files with 1 additions and 0 deletions

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