title: Docker: what is the equivalent of the legacy --link parameter
body: <p>I need to connect my db container with my server container. Now I just red about the legacy parameter <code>--link</code>, which works perfect</p>
  
  <pre><code>$&gt; docker run -d -P --name rethinkdb1 rethinkdb
  $&gt; docker run -d --link rethinkdb:db my-server
  </code></pre>
  
  <p>But, if this parameter will be dropped eventually, how would I do something like the above ?</p>