From 6f70946a2782d30b824c02b0437b8e7969f4ea5c Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 27 Nov 2018 22:47:39 +0100 Subject: [PATCH] Add warning to /info if KernelMemoryTCP is not supported Signed-off-by: Sebastiaan van Stijn --- daemon/info_unix.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/daemon/info_unix.go b/daemon/info_unix.go index cbfee36b56..6efdc16951 100644 --- a/daemon/info_unix.go +++ b/daemon/info_unix.go @@ -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") }