title: Communication between two Docker containers
body: <p>I'm using Docker with two containers. One of these is a simple server written in Python:</p>
  
  <pre><code>from flask import Flask
  app = Flask(__name__)
  
  @app.route('/')
  def hello_world():
      return 'Flask Dockerized'
  
  if __name__ == '__main__':
      app.run(debug=True,host='0.0.0.0')
  </code></pre>
  
  <p>The second one is simple client: i.e.</p>
  
  <pre><code>r = requests.get('http://localhost:5000')
  </code></pre>
  
  <p>How can I make them know each other, if both of them run in different containers?</p>