From ae3283adda45dac2a7ba4d2854bd441dcebd509c Mon Sep 17 00:00:00 2001 From: IrwenXYZ Date: Sat, 26 Nov 2022 12:19:39 +0800 Subject: [PATCH] Update readme for memory consumption on ARM devices (#1967) --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index ef10c5c1..5f3c824d 100644 --- a/README.md +++ b/README.md @@ -183,6 +183,26 @@ Dozzle has a [special route](https://github.com/amir20/dozzle/blob/master/assets +
+ I installed Dozzle but memory consumption doesn't show up! + +*This is an issue specific to ARM devices* + +Dozzle uses the Docker API to gather information about the containers' memory usage. If the memory usage is not showing up, then it is likely that the Docker API is not returning the memory usage. + +You can verify this by running `docker info`, and you should see the following: +``` +WARNING: No memory limit support +WARNING: No swap limit support +``` + +In this case, you'll need to add the following line to your `/boot/cmdline.txt` file and reboot your device. +``` +cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1 +``` + +
+ ## License [MIT](LICENSE)