From f2ba04ffa424c283b5dccd12c8dd347cfbfa640c Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Mon, 7 Aug 2017 14:40:26 -0400 Subject: [PATCH] Set subreaper true in default linux config This sets the subreaper to true in the default linux config as the common usecase is to not run containerd as pid 1. Signed-off-by: Michael Crosby --- cmd/containerd/config_linux.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/containerd/config_linux.go b/cmd/containerd/config_linux.go index 68d3f1629..39080d622 100644 --- a/cmd/containerd/config_linux.go +++ b/cmd/containerd/config_linux.go @@ -11,6 +11,7 @@ func defaultConfig() *server.Config { GRPC: server.GRPCConfig{ Address: server.DefaultAddress, }, + Subreaper: true, Debug: server.Debug{ Level: "info", Address: server.DefaultDebugAddress,