Is anyone here using Docker for Ruby on Rails?
I’ve been boning up on Docker due to the promise of being able to reset Ruby on Rails instantly. (It takes a few minutes to destroy and rebuild my Debian Stable Vagrant box. And forget about trying to reinstall Ruby on Rails if you have it installed directly on the host OS.)
If you’re using Docker for Ruby on Rails, I’d like to learn more about your workflow. My standard operating procedure is to boot up my Debian Stable Vagrant box (https://github.com/jhsu802701/vagrant-debian-jessie-rvm) in one window, open up additional tabs in my command line shell program, and use “vagrant ssh” to enter my Vagrant box in these extra tabs. I use one terminal window for running the Rails server, one of running Guard, and one for executing other commands. I keep a browser window open for viewing my site locally. If I’m using the SQLite database in development, I use the SQLite browser program on my host OS to look at the data. If I’m using the PostgreSQL database in development, I use the pgadmin3 program on my host OS to look at the data.
If you’re using Docker for Ruby on Rails, I’d like to learn about your workflow. How do you go through Michael Hartl’s Rails Tutorial the Docker way?