Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 538
Krystian Kan Avatar asked Oct 30 '21 13:10

Krystian Kan


People also ask

What are the common Docker error messages?

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

Why can't I get Docker packages for Arch Linux?

Arch linux is a rolling release, and is shipping with "bleeding edge" versions of packages. Because of this, it's known that Arch periodically breaks docker; for that reason we don't ship packages for Arch. It may be best to report this with Arch linux, who maintains their packages Sorry, something went wrong. I don't see any problem there.

How to fix a hanging network in Docker?

Solution 1. Try to restart the Docker service and remove the hanging network afterwards. 1. sudo systemctl restart docker 2. docker network rm bad-network or, 2.1 docker network prune Solution 2. Take down the docker-compose stack using the --remove-orphans flag.

What does this package install in Docker?

This package installs the various binary kernel module files under /lib/modules/4.19.0-13-amd64. When you load up a Docker container, it loads several of these modules dynamically, especially if this is the first container you've started since last boot.


2 Answers

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

like image 200
Omniver Avatar answered Oct 23 '22 05:10

Omniver


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.

like image 3
Toni Homedes i Saun Avatar answered Oct 23 '22 06:10

Toni Homedes i Saun