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:
commit
126b17a0ff
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue