[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
Pigi


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
Pigi