Vagrant is a tool for managing pre-configured Virtual Machines (VM). The emphasis is on management; Vagrant doesn’t build them, it just manages VMs created by existing hypervisors such as VirtualBox. It simplifies the process of downloading VM images and configuring them.

Vagrant also allows you to package your own box with your own environment variables, softwares, … and distribute it to the others. This way, you save a lot of time for people who need to have your own exact environment to replicate your work.

After booting up your VM box, you can configure other tools you need on your VM through several provisioners such as the shellTerraformChef and Ansible. In other words, Vagrant integrates Provisioner and VirtualBox to configure your desired environment.

Image for post

Source: https://www.softqubes.com/blog/introduction-of-vagrant-development/

Install VirtualBox first

$ sudo apt-get install vagrant

Install Vagrant

Although you can use your package manager to install vagrant, I recommend downloading the Debian package from Vagrant website (here) and installing it directly.

#virtual-machine #101 #vagrant

Hashicorp Vagrant 101
2.65 GEEK