1. I'm native Windows 7 and installed a vmware and vmware is centos6.5 system inside, docker1.7 launched a container,
2. Windows 7 host, and virtual machine firewalls are all closed,
3. Windows 7 host and vmware virtual machine of routing table below
Windows 7 the host routing table 3.1
One is me add a routing configuration:
The route to the add 172.17.0.0 mask 255.255.0.0 192.168.137.1 IF 19?
The virtual machine centos 3.2 (docker host host) routing configuration
The virtual machine routing I didn't change
4. Inside the docker container ping as follows
4.1 docker containers (172.17.0.1) ping www.baidu.com; Can
4.2 docker container ping Windows 7 host IP (192.168.0.100) can pass
?
4.3 the inside of the vmware centos docker host host ping docker container IP can
4.4 Windows 7 host ping docker docker0 Bridges can pass
4.5 Windows 7 host ping docker containers within the docker impassability, impassability, understand?
Under the great god answer, why the container can be accessed within the docker, outside the network; But why can't access the Intranet hosts docker inside the container?
CodePudding user response:
https://img-bbs.csdn.net/upload/201606/30/1467295948_137963.pnghttps://img-bbs.csdn.net/upload/201606/30/1467295871_953695.png
CodePudding user response:
Just measure a pen, I found 7 host ping 172.17.0.1 sent to a virtual machine, a message is to eth0, but not to the docker0 card,CodePudding user response:
preliminary estimate is vmware NAT service bug..CodePudding user response:
Is that all right nowCodePudding user response:
Wei: why not?CodePudding user response:
I have the same problem solved?CodePudding user response: