linux - Docker 未启动 "could not delete the default bridge network: network bridge has active endpoints""

标签 linux docker debian

有什么解决办法吗?

Error starting daemon: Error initializing network controller: could not delete the default bridge network: network bridge has active endpoints

操作系统:Debian 8
Docker 版本:1.9.0,构建 76d6bc9

ifconfig 输出:

eth0      Link encap:Ethernet  HWaddr e0:3f:49:a0:9d:b4  
      inet addr:192.168.0.104  Bcast:192.168.0.255  Mask:255.255.255.0
      inet6 addr: fe80::e23f:49ff:fea0:9db4/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:5231 errors:0 dropped:0 overruns:0 frame:0
      TX packets:4651 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:3019389 (2.8 MiB)  TX bytes:858951 (838.8 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:5568 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5568 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:330007 (322.2 KiB)  TX bytes:330007 (322.2 KiB)

最佳答案

升级后我遇到了类似的问题。

运行

sudo mv /var/lib/docker/network/files/ /tmp/dn-bak

重置您的网络。然后重启 docker(sudo systemctl restart dockersudo service docker restart 取决于你的操作系统)。

如果一切正常,您可以删除 dn-bak 目录。

关于linux - Docker 未启动 "could not delete the default bridge network: network bridge has active endpoints"",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33600154/

相关文章:

reactjs - docker环境中React和Spring Boot之间的连接拒绝错误

php - PHP状态页有效,但Nginx记录错误

docker - docker的apparmor简介在哪里?

c++ - 我的程序是 "Killed"

linux - 适用于 Linux 的 Delphi Tokyo : stream file contents to stdout (console output)

linux - 临时清除tty

linux - gnu screen 不要改变我的窗口标题

linux - 如何在linux上删除postgresql数据库

Linux 错误 : Unmet Dependencies

windows - 我在Windows上使用vagrant + docker时出现文件系统问题