From b01d9dcc1015a916b825ed39357e772d4e40d516 Mon Sep 17 00:00:00 2001 From: Mrunal Patel Date: Mon, 15 Aug 2016 15:57:41 -0700 Subject: [PATCH] Make the server process a reaper Signed-off-by: Mrunal Patel --- server/server.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/server.go b/server/server.go index af87668c..4c3f0463 100644 --- a/server/server.go +++ b/server/server.go @@ -28,6 +28,8 @@ func New(runtimePath, sandboxDir, containerDir string) (*Server, error) { return nil, fmt.Errorf("failed to set server as subreaper: %v", err) } + utils.StartReaper() + if err := os.MkdirAll(imageStore, 0755); err != nil { return nil, err }