title: How do I pass the host's IP address to my container in Docker
body: <p>I have multiple NICs on my machine and hence multiple externally routable IP addresses.</p>
  
  <p>When I start a container, I want to make the container's virtual eth0 have the IP address of one of my publically visible IP addresses</p>
  
  <p>This is because each of my applications queries its local IP and communicates it to the outside over a proprietary protocol, so all of the iptables tricks wont work</p>
  
  <p>How do I do this?</p>