Article 58HG8 [SOLVED] Trouble with kernel 5.4.65 and docker. Unable to find "memory" in controller set.

[SOLVED] Trouble with kernel 5.4.65 and docker. Unable to find "memory" in controller set.

by
Pigi_102
from LinuxQuestions.org on (#58HG8)
Hi all,
after migration to Pi4 and upgrade the kernel, to make it possible, I started to get :

Code:docker: Error response from daemon: unable to find "memory" in controller set: unknown.If it happens to you, the motivation is that in kernel is set to yes the
Code:CONFIG_MEMCG=ybut the cgroup memory is disabled in kernel code, as per
https://github.com/raspberrypi/linux...ment-156697067
The fix took me some our to find, but is rather an easy one:
add cgroup_enable=memory in /boot/cmdline.txt and reboot.

I write this here as it may helps others.

Cheers

Pigilatest?d=yIl2AUoC8zA latest?i=INB04iFJqYs:FqPADMFcBNY:F7zBnMy latest?i=INB04iFJqYs:FqPADMFcBNY:V_sGLiP latest?d=qj6IDK7rITs latest?i=INB04iFJqYs:FqPADMFcBNY:gIN9vFwINB04iFJqYs
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments