Score:4

"pair interfaces: operation not supported" error in docker

kz flag

I installed Ubuntu 21.10 Server for Raspberry PI, then i installed Docker and used docker-compose to start some containers, but i notice this is not working anymore. Previously i had Ubuntu 20.04 LST and everything was working fine (except the lack of NVME boot support, added in 21.10).

Error response from daemon: failed to create endpoint fpm-redis-1 on network fpm_default: failed to add the host (veth4f16537) <=> sandbox (veth3eb890a) pair interfaces: operation not supported

The issue seams to be kernel related after searching for several hours while trying to find a solution.

Score:5
cn flag

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

gs flag
Can confirm that this fixed the problem on my freshly installed Ubuntu Server 21.10 64bit on Raspberry Pi 4B. There's also an older answer on SO: https://serverfault.com/a/1081511
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.