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
The default network "bridge" is missing "Gateway" when docker installed in Virtual machine. #981
Comments
Surprisingly! "Gateway": "172.17.0.1" appears when I just restarted the docker! But I still can't ping 172.17.0.1.
|
Hi, did you find a solution to the issue? Unfortunatly I have exactly the same problem. |
Unfortunatly, so far, I haven't found a solution. |
FYI: After I updated Docker to version 19.03.14 today, the problems are gone. Seems that something was odd on their side. |
Hi, i'm having the exact same issue on Docker version 20.10.2, build 2291f61 on a CentOS 8 virtual machine. To solve the issue i had to create a new bridge type connection with
|
Same problem here on CentOS 7.7
Docker version:
|
same problem on:
docker version
|
Hola. Tengo el mismo inconveniente en un CentOS 7.2. Alguien ha podido solucionarlo? |
Same here with Ubuntu 20.04 and Docker version 20.10.9 When I create a network, Docker create a related bridge interface but do not add it as gateway to the network.
Restarting docker service do not help. I also try to force gateway configuration
After that At the end I try a full reboot and that's fix my network without any other change. |
Enabling IP Forwarding fixed the problem for me:
reload settings and restart docker
|
Works For me |
Same here, docker-ce 20.10.18, Ubuntu 20.04 The GW address is present in the output of Adding the address back to the interface using The issue only appears on a single host out of >60 in a cluster. It is the only one with version 20.10.18. Others are:
|
Expected behavior
The default network bridge should be created with a "Gateway". As follow image:
Actual behavior
In my physical machine, everything is OK.
But when I installed docker to a virtual machine, I found the default network bridge has no "Gateway". As follow image:
The surface problem is that the containers (like alpine) in the virtual machines can't ping github.com when the containers first running, while the containers in the physical machines can ping github.com when the containers first running.
I don't konw if this problem has something to do with the missing "Gateway" config.
Plus informations:
All of them above are all CentOS 7.
Steps to reproduce the behavior
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.)
I tried both in VirtulBox and VMware. They are having the same problem.
The text was updated successfully, but these errors were encountered: