Docker: Error response from daemon: failed to create endpoint priceless_noether on network bridge:
Asked Answered
M

4

13

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.

Managing answered 30/10, 2021 at 13:39 Comment(0)
M
13

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

Manwell answered 31/10, 2021 at 4:12 Comment(4)
Great, that solved it!Managing
Today, I got the error E: Unable to locate package linux-modules-extra-raspi. OS is based on bullseye.Crt
For me, a restart was required but this worked!Blintze
Using Pi and stuck at same error with docker. This comment solve my problem. Thanks OmniverFarfamed
A
6

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.

Ables answered 10/6, 2022 at 7:0 Comment(0)
L
1

Restarting docker daemon worked for me.

Leopoldine answered 22/9, 2022 at 16:14 Comment(0)
W
1

Restarting the Docker service resolves resource allocation issues sudo systemctl restart docker

Weed answered 25/3 at 10:7 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.