title: Docker container published ports not accessible?
body: <p>So here is the situation, I have a container running built with this dockerfile:</p>
  
  <pre><code>FROM python:2-onbuild
  EXPOSE 8888
  CMD [ "nohup", "mock-server", "--dir=/usr/src/app", "&amp;" ]
  </code></pre>
  
  <p>I run it with this command:</p>
  
  <pre><code> docker build -t mock_server .
   docker run -d -p 8888:8888 --name mocky mock_server
  </code></pre>
  
  <p>I am using it on a mac so boot2docker is going and I hit it from the boot2docker ip on 8888. I tried boot2docker ssh and hitting the container from there. I ran <code>docker exec -it mocky bash</code> and <code>ps aux</code> shows:</p>
  
  <pre><code>USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
  root         1  0.0  0.9 113316 18576 ?        Ss   15:16   0:00 /usr/local/bin/python2 /usr/local/bin/mock-server --dir=/usr/src/app &amp;
  root         5  1.6  0.1  21916  3440 ?        Ss   17:52   0:00 bash
  root         9  0.0  0.1  19180  2404 ?        R+   17:53   0:00 ps aux
  </code></pre>
  
  <p>When I cURL it:</p>
  
  <pre><code>curl -I -XGET localhost:8888/__manage
  HTTP/1.1 200 OK
  Content-Length: 183108
  Set-Cookie: flash_msg_success=; expires=Thu, 04 Sep 2014 17:54:58 GMT; Path=/
  Set-Cookie: flash_msg_error=; expires=Thu, 04 Sep 2014 17:54:58 GMT; Path=/
  Server: TornadoServer/4.2.1
  Etag: "efdb5b362491b8e4b8347b97ccafeca02db8d27d"
  Date: Fri, 04 Sep 2015 17:54:58 GMT
  Content-Type: text/html; charset=UTF-8
  </code></pre>
  
  <p>So I the app is running inside the container but I can't get anything from outside it.  What can be done here?</p>