[英]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.我在 RasberryPi4.Docker 版本 20.10.7 上运行 ubuntu 服务器 21.10,构建 20.10.7 0ubuntu5。 I tried
docker prune
and to reinstall docker fully and even reinstall ubuntu, but nothing seems to work.我尝试
docker prune
并完全重新安装 docker 甚至重新安装 ubuntu,但似乎没有任何效果。 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
每当我尝试运行示例 hello-world 图像时,我得到:
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.任何帮助将不胜感激。
The vent kernel module is not installed.未安装 vent 内核模块。 If you do: sudo apt install linux-modules-extra-raspi
如果你这样做:sudo apt install linux-modules-extra-raspi
This will install the module and docker will work.这将安装模块并且 docker 将工作。
from: https://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg5968593.html来自: https ://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg5968593.html
For the Raspberry Pi in particular, this was solved just rebooting.特别是对于Raspberry Pi ,只需重新启动即可解决。
Apparently, this happens because apt upgrade
prepared a new kernel and deleted the old one (while running).显然,这是因为
apt upgrade
准备了一个新内核并删除了旧内核(在运行时)。 This means the Pi continues to run, but you can not load new modules on the kernel.这意味着 Pi 继续运行,但您无法在内核上加载新模块。 Rebooting solves it by starting the upgraded kernel.
重新启动通过启动升级的内核来解决它。
Restarting docker daemon worked for me.重新启动 docker 守护进程对我有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.