From 2448058ee23292e2a167bbd6a2e138ad99e8b3b8 Mon Sep 17 00:00:00 2001 From: Josh Poimboeuf Date: Fri, 8 Nov 2013 16:28:41 -0600 Subject: [PATCH] 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 31638ab2ad2a5380d447780f05f7aa078c9421f5. --- runtime.go | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime.go b/runtime.go index 671694fce5..581f6a8d83 100644 --- a/runtime.go +++ b/runtime.go @@ -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