I used to use Vagrant but switched to Docker. Now I'm interested in
revisiting Vagrant for working on Ruby on Rails apps that I haven't been
able to get working in a Docker environment. One of them is the
rubygems.org site (
https://github.com/rubygems/rubygems.org),
where I've been unable to get ElasticSearch to work properly. (The
official way is to run ElasticSearch through a Docker container. This
requires running Rails in the host OS, because I am unable to run a
Docker container within a Docker container.) Another project I need
Vagrant for is HoundCI (
https://github.com/houndci/hound), where browser tests fail, and everyone on the project relies on Ruby on Rails in the host OS.
I've
been so spoiled in the Docker world. One of my favorite features is
the automated builds of Docker Cloud (previously known as Docker Hub). I
connect a Docker image to a GitHub or BitBucket repository, and Docker
Cloud's automated build feature creates my Docker image for me. This
frees up my local machine AND bypasses the need to upload the Docker
image.
Does the Vagrant world have anything like this? When I
was relying on Vagrant in the past, I used Packer to build my Vagrant
boxes locally, and then I had to upload the image. This was a long
process.