"pair interfaces: operation not supported" error in docker

According to release notes for 21.10, this should help:

sudo apt install linux-modules-extra-raspi

Various kernel modules have been moved from the linux-modules-raspi package in order to reduce the initramfs size. This results in several applications (most notably Docker, bug 1947601) failing due to missing kernel modules. To work around this:

sudo apt install linux-modules-extra-raspi