Skip to content
Kaspars Dambis edited this page Dec 14, 2018 · 1 revision

Why Docker Inside Vagrant

Vagrant enables multiple virtual environments over separate network interfaces with "pretty" domain names such as example.local instead of example.local:8080. Docker doesn't create network interfaces for containers so it requires a dedicated port on the host machine for each container.

Fixed local development URLs are required for consistent developer experience and documentation.

Why Docker Instead of Puppet or Ansible

Running virtual Docker containers inside a virtual Vagrant environment might seem like a waste of resources and disk space. The benefits are:

  • the simplicity of creating and re-using Docker containers,
Clone this wiki locally