Hi Folks, I'm pretty new to Vagrant, but I managed to create a VirtualBox VM with an app stack and an auto-populated Maria DB, which I'll be able to share with other developers on the team just by giving them a directory with a Vagrantfile and included shell provisioner scripts.
Just today, I started playing with switching the provider over to Docker. That's had some snags along the way, but I think most of it is worked out. However, one thing I'm used to with the VirtualBox provider is being able to specify a static IP for the VM for host-only communication: config.vm.network :private_network, ip: "192.168.56.10" Then, I can simply have a permanent host entry of: 192.168.56.10 local.mysite.com I haven't figured out how to do the same with the Docker provider. [It assigns the IP dynamically, and it seems to change for some (maybe all) vagrant ups.] How do I accomplish this sort of thing with the Docker provider? For what it's worth, I'm developing the Vagrant project on Linux, but it will be also used by teammates on Macs and Windows. Thanks, Jamie -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
