Connect to docker-machine using 'localhost' : <p>There are certain features, like JavaScript service workers without https, that only work on localhost, but when I run my app inside a docker container, using docker-compose, which runs on top of docker-machine, I need to connect to it using the address I get from </p>

<pre><code>docker-machine ip default
</code></pre>

<p>Is there a way to map <code>localhost</code> to that ip?</p>
