
Login log in to HashiCorp's Vagrant Cloud List-commands outputs all available Vagrant subcommands, even non-primary ones Init initializes a new Vagrant environment by creating a Vagrantfile Global-status outputs status Vagrant environments for this user You can get the list of commands for vagrant: parau-mbp:aut parau$ vagrant list-commandsīelow is a listing of all available Vagrant commands and a brief description of what they do.īox manages boxes: installation, removal, etc.ĭestroy stops and deletes all traces of the vagrant machineĭocker-exec attach to an already-running docker containerĭocker-logs outputs the logs from the Docker containerĭocker-run run a one-off command in the context of a container The project is started using “vagrant init”. describe what kind of VM you are using in the project.The first step with any Vagrant project is to create the Vagrantfile(this is actually the name of the file) which does two things: Vagrant works with boxes which are base images that are used to clone virtual machines. Then shell scripts, Chef or Puppet can automatically install and configure software on the virtual machine.įirst you will need to download you backend provider(VirtualBox, VMware and so on).

Machines are provisioned on top of VirtualBox, VMware, AWS or any other provider. Vagrant provides easy to configure, reproducible, and portable work environments built on top of industry-standard technology and controlled by a single consistent workflow. Vagrant is a tool for building and managing virtual machine environments. I recently started to play with it and thought it would be great to document what I learned so that others can benefit from my notes. This post will be the first one from a series covering Vagrant.
