title: Using docker during the development workflow
body: <p>I'm using boot2docker on OS X and cloned the following repo:</p>
  
  <p><a href="https://github.com/enokd/docker-node-hello">https://github.com/enokd/docker-node-hello</a></p>
  
  <p>It basically has a Dockerfile and a very simple express app that prints hello world. Everything runs great when I build  and run the image, but of course if I make any changes to index.js on my Mac none of that gets reflected in my running image. I can't seem to find any references on how I'd setup docker so that I can run it in my development environment to automatically pick up my source code changes so I feel like I'm "Doing it wrong". Any suggestions?</p>
  
  <p>Here's how I'm currently running it (I'm not using Vagrant, and not quite sure if that makes any difference):</p>
  
  <pre><code>$ docker build -t gasi/centos-node-hello .
  $ docker run -p 49160:8080 -d gasi/centos-node-hello
  $ curl localhost:49160
  </code></pre>
  
  <p><em>Update:</em> Added an answer with what I ended up doing.</p>
  
  <p><em>Update:</em> Added more current answer using boot2docker 1.3+ and fig.</p>