Add warning to /info if KernelMemoryTCP is not supported
@@ -86,6 +86,9 @@ func (daemon *Daemon) fillPlatformInfo(v *types.Info, sysInfo *sysinfo.SysInfo)
if !v.KernelMemory {
v.Warnings = append(v.Warnings, "WARNING: No kernel memory limit support")
}
+ if !v.KernelMemoryTCP {
+ v.Warnings = append(v.Warnings, "WARNING: No kernel memory TCP limit support")
+ }
if !v.OomKillDisable {
v.Warnings = append(v.Warnings, "WARNING: No oom kill disable support")
}
