From b4247b433eec9f568dcfa3941af67abbd7ae8bf3 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Sat, 11 May 2019 10:08:17 +0900 Subject: [PATCH] builder-next: support DOCKER_RAMDISK For https://github.com/kubernetes/minikube/issues/4143 Signed-off-by: Akihiro Suda --- builder/builder-next/executor_unix.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builder/builder-next/executor_unix.go b/builder/builder-next/executor_unix.go index 132b92808f..620ffb401d 100644 --- a/builder/builder-next/executor_unix.go +++ b/builder/builder-next/executor_unix.go @@ -31,6 +31,7 @@ func newExecutor(root, cgroupParent string, net libnetwork.NetworkController, ro CommandCandidates: []string{"runc"}, DefaultCgroupParent: cgroupParent, Rootless: rootless, + NoPivot: os.Getenv("DOCKER_RAMDISK") != "", }, networkProviders) }