Loading ...

Vagrant – Create and configure lightweight, reproducible, and portable development environments


01 – What is vagrant?

Vagrant is an amazing tool for managing virtual machines via a simple to use command line interface. With a simple vagrant up you can be working in a clean environment based on a standard template. These standard templates are called base boxes, and this website is simply a list of boxes people have been nice enough to make publicly available.

02 – What do I need to install vagrant?

a. Install Virtual box of Oracle

b. Install Vagrant.

03 – How do I actually run vagrant?

Boxes from http://www.vagrantbox.es/ run them as follows:

Open command prompt at windows or bash shell at linux. At the command prompt write the following:

a.  c:\>vagrant box add {title} {url}

b.  c:\>vagrant init {title}

c.  c:\>vagrant up

d.  Open virtual box and run the newly installed machine.

Notes: Title is the title of the vagrant machine you want to download and Url is the URL you are downloading the VM (box) from.

Box from https://atlas.hashicorp.com/boxes/search run them as follows:

a. Create a directory for new VM (virtual machine).

b. Open command prompt.

c. c:\>vagrant init <Name of Box>

c. c:\>vagrant up [optional <–provider virtualbox>]

04 – Video about Vagrant

 05 – More info about Vagrant

Vagrant website: https://www.vagrantup.com/