Reputation: 163
I'm running an ubuntu server 21.10 on RasberryPi4.Docker version 20.10.7, build 20.10.7 0ubuntu5. I tried docker prune
and to reinstall docker fully and even reinstall ubuntu, but nothing seems to work. Whenever I try to run the sample hello-world image I get: Docker: Error response from daemon: failed to create endpoint priceless_noether on network bridge:: failed to add the host (veth4cfcda9) <=> sandbox (vethda57bc9) pair interfaces: operation not supported.ERRO[0000] error waiting for container: context canceled
Any help would be greatly appreciated.
Upvotes: 13
Views: 17431
Reputation: 308
Restarting the Docker service resolves resource allocation issues
sudo systemctl restart docker
Upvotes: 3
Reputation: 716
For the Raspberry Pi in particular, this was solved just rebooting.
Apparently, this happens because apt upgrade
prepared a new kernel and deleted the old one (while running). This means the Pi continues to run, but you can not load new modules on the kernel. Rebooting solves it by starting the upgraded kernel.
Upvotes: 6
Reputation: 350
The vent kernel module is not installed. If you do: sudo apt install linux-modules-extra-raspi
This will install the module and docker will work.
from: https://www.mail-archive.com/[email protected]/msg5968593.html
Upvotes: 13