[20.10 backport] printServerWarningsLegacy: silence "No kernel memory limit support"; silence "No oom kill disable support" on cgroup v2#3099
Merged
silvin-lubecki merged 2 commits intodocker:20.10from May 19, 2021
Conversation
The kernel memory limit is deprecated in Docker 20.10.0, and its support was removed in runc v1.0.0-rc94. So, this warning can be safely removed. Relevant: moby/moby@b8ca7de Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp> (cherry picked from commit 731f52c) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
…group v2 The warning should be ignored on cgroup v2 hosts. Relevant: moby/moby@8086443 Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp> (cherry picked from commit 05ec018) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Member
Author
Codecov Report
@@ Coverage Diff @@
## 20.10 #3099 +/- ##
==========================================
- Coverage 57.02% 57.01% -0.01%
==========================================
Files 297 297
Lines 18679 18677 -2
==========================================
- Hits 10651 10649 -2
Misses 7163 7163
Partials 865 865 |
AkihiroSuda
approved these changes
May 19, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
backport of #3077
- What I did
Removed unhandleable warnings from
printServerWarningsLegacy().- How I did it
These warnings have been already silenced on the daemon side.
- How to verify it
Before:
After: (no warning)