-
Notifications
You must be signed in to change notification settings - Fork 18.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error starting daemon: Error initializing network controller: list bridge addresses failed: no available network #35121
Comments
This looks like an issue in your environment, not a bug; when starting the daemon, the daemon will look for non conflicting IP-ranges to use for the container network; the error that's printed indicates that the daemon is not able to get network access to find available ranges. It may be worth running the check-config script to see if anything is missing on your machine; https://github.com/moby/moby/blob/master/contrib/check-config.sh Starting the daemon in debug mode (using the However, Docker does not maintain the packages for Gentoo, and Docker 17.03 has reached end of life, so your best road to support may be the Gentoo maintainers. Please keep in mind that the GitHub issue tracker is not intended as a general support forum,
I'm going to close this issue because this does not look like a bug, but feel free to continue the conversation 👍 |
Just encountered the same issue with Docker Edge on Ubuntu 17.10.
while being connected to my usual home network (192.168.0.0/24) and while being connected to a VPN (10.x.y.0/24). After turning off the VPN, Docker started and assigned itself the 172.17.0.0/16 network. @thaJeztah, you say
If so, I would consider this a bug in the Docker code that determines a suitable IP range, because the range that it chose in the end doesn't conflict with the ones that were in use when it failed. |
I have the same bug as @traktofon in debian buster. Additionally I doubt it is related to VPN. VPN is off and not configured on Debian. My Mac running in the same network has no problems with starting docker. Debian Buster
Macintosh
|
I confirm the issue when openvpn with network 10...* is connected not regarding linux distribution. @thaJeztah can you reopen please and investigate the issue further. |
I too am using OpenVPN and have this issue. Edit: I just shut off my VPN and it stopped breaking. It's DEFINITELY the VPN in my case. Edit2: not only is it the VPN, it happens inconsistently. When I started my openvpn.service and then started dockerd again, it ostensibly loaded properly this time. This issue is nontrivial to debug, but it definitely exists. Please reopen this issue. |
Me too, using openvpn. Uninstall did the trick! |
I encountered this same error while connected to a VPN. Disconnecting allowed dockerd to start up, and docker-ce package installation to finish. |
I have the same problem. Please be sure that all VPN services are not running. I had a process for Kerio VPN and that was the source of my issue. |
@thaJeztah also encounter this, it is vpn related. please reopen this, it has already hit multiple people. |
I've encountered this but it was indeed a problem in our side. Posting some details as it may help others.
Note the |
Got this error with a vpn connected. Disconnected and it immediately resolved this failure. Thanks it appears to work ok once reconnect to the vpn, just fails when starting up. |
This is a bug. Complete comment with full explanation why this is a bug is in ticket: #33925 |
Description
I have physical machine with Gentoo as host OS for Docker containers. I have compiled kernel using instructions on page https://wiki.gentoo.org/wiki/Docker#Kernel and I have installed Docker from Gentoo repository (see on the section Additional environment details (AWS, VirtualBox, physical, etc.)). I have set following USE flags:
I have emerged Docker and added it to boot level
default
in OpenRC init system. After compiling kernel and Docker I wanted to check if Docker is working so I typeddocker info
in terminal and I got error. I have decided to check what is wrong and I need your help with solving issue.Steps to reproduce the issue:
docker version
command.docker info
.Describe the results you received:
In the output of
docker version
(see below) you can see errorCannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
. The same message appears if I try get Docker system-wide informations. The same error appears if I try run the same command prepending by sudo, so this error applies to daemon. I tried to check if there a mistake in Docker daemon privileges. Based on these messages I am able to say that maybe Docker daemon not running. I checked daemon status to make sure. Docker daemon is crashed. To see the reason, I looked at the logs.Output of
cat /var/log/docker.log
:Describe the results you expected:
docker info
should return Docker system-wide informations instead ofCannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
.Expected output of
docker version
:Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Output of
sudo docker info
:Output of
sudo service docker status
:Additional environment details (AWS, VirtualBox, physical, etc.):
I am using Gentoo as Host OS for Docker containers. I have compiled kernel using instructions on page https://wiki.gentoo.org/wiki/Docker#Kernel and I have installed Docker from Gentoo repository.
Host system informations:
I have disabled iptables and ip6tables because firewall is not actually properly configured. I am connecting to internet through VPN and I am using 8.8.8.8 and 8.8.4.4 DNS providers. I have running Tor and Privoxy daemons and I am using OpenRC init system.
The text was updated successfully, but these errors were encountered: