diff --git a/libpod/runtime_img.go b/libpod/runtime_img.go index 585e1f0217..bac8ec31f2 100644 --- a/libpod/runtime_img.go +++ b/libpod/runtime_img.go @@ -120,6 +120,8 @@ func (r *Runtime) Build(ctx context.Context, options buildahDefine.BuildOptions, if options.Runtime == "" { options.Runtime = r.GetOCIRuntimePath() } + options.NoPivotRoot = r.config.Engine.NoPivotRoot + // share the network interface between podman and buildah options.NetworkInterface = r.network id, ref, err := imagebuildah.BuildDockerfiles(ctx, r.store, options, dockerfiles...)