Wednesday, February 25, 2015

Usage of Vagrant along with Virtualbox

Hi All,

I already used virtualbox earlier. But recently I got a chance to work on it again. But here the usage style it's different. :)

Basically the thing is, we use virtualbox to run another operating system on the current OS. But as a normal user, we expect the UI from it.

As a developer, sometimes we don't require the UI instead we go for services from it. This time how do we run a virtual OS.

Virtualbox developers provided some command line utilities to achieve these kind of things.

But there will be a requirement to play with multiple operating systems virtually.

Here one tool helps us to do in that way...

That tool name is vagrant. It is really awesome to work with virtual operating systems. And no need to interact with the virtualbox directly. There will be a central configuration file for vagrant.

But the vagrant requires virtualbox :) i.e Vagrantfile

We can define which service port numbers of host OS to be routed to which ports of Guest OS.

No comments:

Post a Comment