Docker not starting “ could not delete the default bridge network: network bridge has active endpoints””

Any ideas how to fix it?

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

OS: Debian 8
Docker version: 1.9.0, build 76d6bc9

  • Kubernetes - dynamic provisioning of storage
  • Docker container can't reach another container using hostname
  • How to debug Docker?
  • Why does this docker-compose command fail while docker run command succeeds?
  • Random GET /nginx_status call from 127.0.0.1 inside docker container
  • How do I display output from Python application running inside Docker container?
  • ifconfig output:

    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)
    

  • build Docker images from GitLab
  • Docker runs of “pip install” and “npm install” on same container overwriting each other
  • Dealing with “HTTP request timed out. Exiting.” when building a large aspnet project for Docker
  • Simple docker command does not work: x509: cannot validate certificate
  • iptables redirect to different host/tproxy in docker container
  • Add/edit files inside a docker container using a remotely?
  • One Solution collect form web for “Docker not starting “ could not delete the default bridge network: network bridge has active endpoints”””

    I had a similar issue after upgrading.

    Run

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

    to reset your networks. Then restart docker (sudo systemctl restart docker or sudo service docker restart depending on your OS).

    If everything works again you can delete the dn-bak directory.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.