setup network when reconnecting to ghost container
Re-adding the line to setup the network when reconnecting to a ghost
container. It was inadvertently removed by commit
31638ab2ad
.
This commit is contained in:
parent
f9dd0da182
commit
2448058ee2
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