I am using Ubuntu 21.10 on a Rasberry Pi 4 (aarch64) and when I try to run a Docker (using version 20.10.7) container it returns the following error message:
docker: Error response from daemon: failed to create endpoint goofy_hypatia on network bridge: failed to add the host (veth3da4a58) <=> sandbox (veth987ce17) pair interfaces: operation not supported.
ERRO[0000] error waiting for container: context canceled
I have tried the following:
- Rebooting (as suggested by https://github.com/moby/moby/issues/42229)
- Unplugging ethernet and switching to wlan0
- reinstalling docker
Thanks for any help.
Answer:
I had same issue, and after quick search I find solution here: [Bug 1947601] Cannot start docker container on ubuntu 21.10 server for 64-bit raspberry pi
You need to install Raspberry Pi Linux kernel extra modules:
sudo apt install linux-modules-extra-raspi