title: How to get mac host IP address from a docker container?
body: <p>I want to access host IP address from a docker container on mac. I know how to do that on Linux by using the bridge0 interface. But docker for mac doesn't have bridge0. I tried to use the gateway <code>172.17.0.1</code> in a docker container but it doesn't work. </p>
  
  <p>My docker for mac version is <code>Docker version 1.13.0, build 49bf474</code>. </p>
  
  <p>I looked at this link <code>https://github.com/docker/docker/issues/22753</code> but it mentions to create an alias on lo0 interface which I don't want to. Because our project is running inside docker container and I want to provides a general way without changing anything on the host.</p>
  
  <p>Does anyone know how to do that in Mac?</p>