Skip to content

Commit d461fd0

Browse files
adrian-blericonr
authored andcommitted
platforms: mention that rbpi kernels disable memcg by default
1 parent 9baf8c8 commit d461fd0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/installation/guides/arm-devices/platforms.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,12 @@ configuration. It should show:
8585
$ i2cdetect -l
8686
i2c-1i2c bcm2835 I2C adapter I2C adapter
8787
```
88+
89+
### Memory cgroup
90+
91+
The kernel from the `rpi-kernel` package [disables the memory cgroup by
92+
default](https://github.com/raspberrypi/linux/commit/9b0efcc1ec497b2985c6aaa60cd97f0d2d96d203#diff-f1d702fa7c504a2b38b30ce6bb098744).
93+
94+
This breaks workloads which use containers. Therefore, if you want to use
95+
containers on your Raspberry Pi, you need to enable memory cgroups by adding
96+
`cgroup_enable=memory` to `/boot/cmdline.txt`.

0 commit comments

Comments
 (0)