Rock 5B - Debian11- Docker

Rock 5B - Debian11- Docker

First of all You need to switch to iptables-legacy as in: https://wiki.debian.org/iptables

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

for cgroups check if that is available on system:

grep cgroup /proc/filesystems

what system and kernel are You using?
edit: have You added cgroup option already?
Take a look at this topic: