title: How to link Docker services across hosts?
body: <p>Docker <a href="http://docs.docker.io/en/latest/use/working_with_links_names/" rel="nofollow noreferrer">allows servers from multiple containers to connect to each other via links and service discovery</a>. However, from what I can see this service discovery is host-local. I would like to implement a service that uses other services hosted on a different machine. </p>
  
  <p>There have been several approaches to solving this problem in Docker, such as <a href="http://coreos.com/blog/jumpers-and-the-software-defined-localhost/" rel="nofollow noreferrer">CoreOS's <code>jumpers</code></a>, host-local services that essentially proxy to the other machine, and a whole bunch of github projects for managing Docker deployments that appear to have attempted to support this use-case.</p>
  
  <p>Given the pace of development it is hard to follow what current best practices are. Therefore my question is essentially: </p>
  
  <ol>
  <li>What (if any) is the current predominant method for linking across hosts in Docker, and </li>
  <li>Are there any plans for supporting this functionality directly in the Docker system?</li>
  </ol>