浏览代码

Disable buildkit's subreaper until the issue is understood

Signed-off-by: Tibor Vass <tibor@docker.com>
Tibor Vass 7 年之前
父节点
当前提交
4a40f921d3
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      builder/builder-next/executor_unix.go

+ 5 - 0
builder/builder-next/executor_unix.go

@@ -18,6 +18,11 @@ import (
 
 const networkName = "bridge"
 
+func init() {
+	// FIXME: https://github.com/moby/moby/issues/37676
+	runcexecutor.DisableSubReaper()
+}
+
 func newExecutor(root string, net libnetwork.NetworkController) (executor.Executor, error) {
 	return runcexecutor.New(runcexecutor.Opt{
 		Root:              filepath.Join(root, "executor"),