浏览代码

Merge pull request #2615 from jpoimboe/ghost-networking-fix

setup network when reconnecting to ghost container
Guillaume J. Charmes 11 年之前
父节点
当前提交
126b17a0ff
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      runtime.go

+ 1 - 0
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