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) }