I'm having a bit of a difficult time understanding how I can leverage my existing infrastructure code with Docker.
I have a Ruby on Rails app that uses capistrano to push out deployments. I want to use this capistrano script to create a new docker image. Can I push out a deploy and then use the deployed to directory to deploy on top of an existing image say, precise (since that matches my target OS).
Would this be the right approach or am I missing something?