Blog Entry 10 years, 7 months ago

Start with Vagrant

How I started with Vagrant to build sample environment for VOER Platform

After some first checks on Docker and Vagrant, I selected Vagrant to build the sample environment of VOER. The reasons is:

  • Docker sounds better, lighter (without running the whole separate VM), but some platforms doesn't support it natively
  • It's recommended not for using in production (yet)

Going with Vagrant: we need to have Vagrant & VirtualBox installed on our machine.

Just like quick started guide, I run this inside a new, empty directory:

vagrant init chef/debian-7.4
vagrant up

then error throws out:

/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/which.rb:32: warning: Insecure world writable dir /home/zniper/scripts in PATH, mode 040777
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:
* The box 'chef/debian-7.4' could not be found.

Turns out that I current run the 1.4 version of Vagrant. It requires version 1.5 to work with the vagrantcloud.com. To install new version of Vagrant, go here: http://www.vagrantup.com/downloads.html

When everything is done, just SSH into it by:

vagrant ssh

This will be updated more, soon...

Recent Reads