Can't connect to Docker containers on OSX : <p>I'm new to Docker, and I can't seem to connect to any containers.</p>

<p>I installed <a href="https://docs.docker.com/engine/installation/mac/" rel="noreferrer">Docker Toolbox</a>. Now I'm trying to get <a href="http://shipyard-project.com/docs/deploy/automated/" rel="noreferrer">Shipyard</a> to work. I followed the steps inside of a Docker Quickstart Terminal. The instructions say:</p>

<blockquote>
  <p>Once deployed, the script will output the URL to connect along with credential information.</p>
</blockquote>

<p>The Shipyard installer ended with:</p>

<pre><code>Shipyard available at http://10.0.2.15:8080
Username: [elided] Password: [elided]
</code></pre>

<p>However, I went to <code>http://10.0.2.15:8080</code> on my browser and it didn't connect.</p>

<p>In another Docker Quickstart Terminal, I did a <code>docker ps</code> to see what the container was and to get its IP Address and I got:</p>

<pre><code>$ docker inspect a4755 | grep IPAddress
            "SecondaryIPAddresses": null,
            "IPAddress": "172.17.0.8",
                    "IPAddress": "172.17.0.8",
</code></pre>

<p>I'm not sure why the IP was different, but I tried to connect to <code>http://172.17.0.8:8080</code> and this didn't work either. <code>http://localhost:8080</code> also failed.</p>

<p>This also happened when I tried to run <a href="https://github.com/rehabstudio/docker-gunicorn-nginx" rel="noreferrer">docker-gunicorn-nginx</a> - everything started, but I couldn't connect to the machine.</p>

<p>What gives?</p>
