[I really need to have a real-time conversation with someone, but unfortunately, I've never had any luck getting responses on #vagrant in freenode (lots of lurkers, but no participants), so email will have to do.]
I have got a Vagrant configuration that creates local development environments for our team. (I haven't dealt with creating my own distributed boxes. On first Vagrant up, everybody starts with the generic ubuntu/precise64 and waits about 10 minutes for it to get provisioned.)
FWIW, the environment has:
- Apache HTTP
- Lucee (Web Application Server)
- MariaDB
- Various development utils (e.g., MailCatcher)
Recently, I've had a need to add a GlassFish server to the mix, so I provisioned it to the same VM as above, along with all of the existing provisioners. (Side note, all provisioners are shell scripts, so far, I haven't ventured into sophisticated provisioners yet, FYI.)
However, I think I'd like to revert GlassFish out of that VM configuration and stand it up in Docker, instead, both to get more exposure to Docker and to take a step toward DevOps for servers.
The idea is that I'd still manage this whole cluster of services with one Vagrantfile, and while I'd leave the old stack on the vbox provider for now, I'd just have that Docker container for Glassfish. (I guess that would mean that the VM would become a Docker host, as well.) Eventually, I think I'd also want to move some of those other services to containers, too.
Is this feasible/sane?
If so, I could use some nuts and bolts help in getting going with this. I've been reading about Vagrant/Docker integration for a couple days now, but the examples (on blogs, etc.) were either broken or (for me, as a Docker noob) hard to adapt.
Thanks,
Jamie