xintongsong commented on issue #11284: [FLINK-15911][runtime] Make Flink work 
with NAT.
URL: https://github.com/apache/flink/pull/11284#issuecomment-601536922
 
 
   Thanks for the review @tillrohrmann.
   
   > A quick question for my understanding. In the e2e test we give every 
container an external address which is equal to the hosts ip address, right? 
How can the docker container route the packages for this address if the docker 
network does not happen to use the same subnet as the host's IP address? Can 
docker container talk to services running in the host's network? I guess I 
don't understand Docker good enough...
   
   As I understand, all the packages whose destination is not the docker 
network will be routed to the host. It depends on the host's setting whether 
and where to further route the package, which, without any special settings, 
should be simply forward the package like any other package sent from the host. 
Accessing other services running on the host should have no difference from 
accessing any public Internet address from inside a docker container.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to