Ok, this drives me crazy. I've read a lot about Docker, and still can't understand - is docker for me...
I use Mac OS X for at work and vagrant to fire up a virtual machine with Ubuntu for development. I use vagrant for each project because I want to have the same os and libs as I use on production servers. I hate tools like rbenv and nvm because their usage increase terminal's start up time. If both are activated I need to wait 2..4 secs for a new terminal tab to be ready. I type fast and this delays kill my productivity.
I'm okay with vagrant but using virtualbox which requires ~800 mb of RAM for each VM... its too much.
So the question is: can I use docker in the same fashion as vagrant? Say I have two projects and I need to use Ruby 2.0 for the project A and Ruby 2.3 for the project B, is it possible/correct with docker to create two containers each with its own version of Ruby? And I don't want to these versions of Ruby intersect with system Ruby.
With vagrant I just create two VMs one with Ruby 2.0, and the second with Ruby 2.3 . If I don't need any of them I'll destroy VM and my system will stay clear without and software installed on the guest machine.
Edited: I know that I can't use Docker natively with OS X. Let's assume some Linux Ubuntu/Debian/Arch/etc. I'm ready to move to Linux, if I'll know that Linux+Docker will give me what I want.