ansible-consul icon indicating copy to clipboard operation
ansible-consul copied to clipboard

Support containers/docker?

Open jeffWelling opened this issue 5 years ago • 1 comments

Vagrant has support for using docker containers in place of VMs, and in my experience it can take the creation of a 3 node cluster from ~3-5 minutes down to 10-15 seconds because of the limitations in VirtualBox around needing to create hosts sequentially. This Vagrantfile looks non-trivial but I'm interested in seeing it support Docker containers, I'm wondering how complicated the community thinks that might be?

jeffWelling avatar Jul 23 '18 21:07 jeffWelling

I personally have a strong preference for orchestrating Docker containers with Terraform instead nowadays as I work with it daily at HashiCorp and find it to be more enjoyable and faster.

See also: my other project, Vaultron which does exactly that for a specific use case and can spin up a Vault cluster of 3 instances with a Consul cluster of 3 servers on Docker with Terraform in less than one minute on a modern laptop.

While I could support this being a possibility, I personally have no interest in implementing it, and have pretty much transitioned away from Ansible for day-to-day use.

brianshumate avatar Aug 15 '18 15:08 brianshumate