mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Deprecate cgroup v1
Fix issue 51111 Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
@@ -147,6 +147,9 @@ func (daemon *Daemon) fillPlatformInfo(ctx context.Context, v *system.Info, sysI
|
||||
}
|
||||
}
|
||||
}
|
||||
if v.CgroupVersion == "1" {
|
||||
v.Warnings = append(v.Warnings, "WARNING: Support for cgroup v1 is deprecated and planned to be removed by no later than May 2029 (https://github.com/moby/moby/issues/51111)")
|
||||
}
|
||||
if !v.IPv4Forwarding {
|
||||
v.Warnings = append(v.Warnings, "WARNING: IPv4 forwarding is disabled")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user