Files
oam/knowledge base/raspberry pi os.md
2022-05-15 00:24:53 +02:00

1.1 KiB

Raspberry Pi OS

Let it run containers

Kernel containerization features

Enable containerization features in the kernel to be able to run containers as intended.

Add the following properties at the end of the line in /boot/cmdline.txt:

cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory

Firewall settings

Switch Debian firewall to legacy config:

update-alternatives --set iptables  /usr/sbin/iptables-legacy
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy

Sources