mirror of
https://github.com/moby/moby.git
synced 2026-08-07 08:31:39 +00:00
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:
@@ -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