without much knowledge about it I think the default way is to assume the hosts IP address plus a port number that can be assigned randomly or fixed, so you reach your container’s service under xxx.xxx.xxx.x:yy
this might also be a god read https://docs.docker.com/v1.11/engine/userguide/networking/dockernetworks/