Преглед на файлове

Disable buildkit's subreaper until the issue is understood

Signed-off-by: Tibor Vass <tibor@docker.com>
Tibor Vass преди 6 години
родител
ревизия
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"),