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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user