title: How can one Docker container call another Docker container
body: <p>I have two Docker containers</p>
  
  <ol>
  <li>A Web API</li>
  <li>A Console Application that calls Web API</li>
  </ol>
  
  <p>Now, on my local web api is local host and Console application has no problem calling the API.However, I have no idea when these two things are Dockerized, how can I possibly make the Url of Dockerized API available to Dockerized Console application?</p>
  
  <p>i don't think i need a Docker Compose because I am passing the Url of API as an argument of the API so its just the matter of making sure that the <code>Dockerized API's</code> url is accessible by <code>Dockerized Console</code></p>
  
  <p>Any ideas?</p>