out.WarnReason(reason.RsrcInsufficientReqMemory,"Requested memory allocation ({{.requested}}MB) is less than the recommended minimum {{.recommend}}MB. Deployments may fail.",out.V{"requested":req,"recommend":minRecommendedMem})
}
ifdriver.IsDockerDesktop(drvName)&&containerLimit<2997&&sysLimit>8000{// for users with more than 8 GB advice 3 GB
r:=reason.RsrcInsufficientDarwinDockerMemory
ifruntime.GOOS=="Windows"{
r=reason.RsrcInsufficientWindowsDockerMemory
}
r.Style=style.Improvement
out.WarnReason(r,"Docker Desktop has access to only {{.size}}MiB of the {{.sys}}MiB in available system memory. Consider increasing this for improved performance.",out.V{"size":containerLimit,"sys":sysLimit,"recommend":"3 GB"})