title: Linking Containers via Docker Remote API
body: <p>I'm trying to link a child mongo container to a parent node container using the Docker remote API v1.7.</p>
  
  <p>I see the <code>Links</code> property in HostConfig which I'm guessing is passed to the<br>
  <code>POST /containers/&lt;id&gt;/start</code> request like</p>
  
  <pre><code>{
    "Links": ["&lt;container-name&gt;:&lt;alias&gt;", ...]
  }
  </code></pre>
  
  <p>I don't see how to name the mongo container to use when starting the node container. Is there an API analogy to the CLI <code>-name</code> flag for <code>docker run</code>?</p>
  
  <p>Do I need to make a separate <code>GET /containers/&lt;id&gt;/json</code> request and live with the auto-generated name?</p>