1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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

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