return home
  
  
  
 
      
    Docker Stats Not Showing Memory Usage On Raspberry Pi 4b
I noticed that docker stats wasn’t showing memory usage on my Raspberry Pi 4B (64-bit Debian).
The memory-related columns like MEM USAGE / LIMIT and MEM % were showing zeros for all containers.

🔧 Solution
Enable memory cgroup support by modifying the boot parameters:
- Open the boot configuration file:
    
sudo nano /boot/firmware/cmdline.txt - Append the following parameters at the end of the existing line (do not create a new line):
    
cgroup_enable=cpuset cgroup_enable=memory group_memory=1 - sudo reboot it.
 
After rebooting, docker stats should now correctly show memory usage for all containers.
