We use Vagrant for dev environment automation and provisioning. It works smoothly. But sometimes, if vagrant has some problem(we faced LOT of them starting from SSH to networking config), the new developers who join us and are supposed to just boot up the box and start working, have a really hard time coping up with that. So I was just wondering, ain't there some easier way(like having a GUI like VirtualBox to start and end an env) of managing these virtual environments?
maybe my question should be, What are the best practices on this area, other than Vagrant?
Essentially, Docker is a technology for creating and running Linux containers, and Vagrant is a machine provisioning tool used to create VMs and then populate them with applications. In other words, you use Vagrant to create a VM and install Docker.
As a day-to-day DevOps tool, Vagrant can be used for many things, including the following: Testing software code in different environments and operating systems. Testing different workflows using configuration-management tools, such as Chef and Puppet.
Vagrant is a tool for building and managing virtual machine environments in a single workflow. With an easy-to-use workflow and focus on automation, Vagrant lowers development environment setup time, increases production parity, and makes the “works on my machine” excuse a relic of the past.
Packer creates a single, coded configuration of a machine build that runs on various platforms, such as a server on AWS or on Microsoft Azure. Vagrant manages virtualized environments, mainly with testing rather than production systems.
Vagrant uses virtualbox as the virtualization layer, so you can start a vagrant vm using the gui. Add the following to your VagrantFile.
config.vm.boot_mode = :gui
Also take a look at sahara as it lets you treat it more like a sandbox with quick rollbacks, etc.
I'll echo the other comment here. If you already have a setup that works smoothly make sure you have everyone using the same versions of VirtualBox, Vagrant and the basebox.
As for a UI and more distribution options you might find Wanton of interest: https://github.com/maestrodev/wanton
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With