Hello,
It seems with the changes made when moving to cgroups-v2, docker is no longer able to set memory limits for containers, or control swap.
Whenever I edit, update, or add a container with memory limits applied, the following warnings appear:
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. WARNING: Your kernel does not support memory swappiness capabilities or the cgroup is not mounted. Memory swappiness discarded.
I understand swap has never been 'officially' supported, but it appears that its now completely broken for docker in 6.12.x (working prior in 6.11.5) as well as the memory control.
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.