Development Environments: Let’s say you want identical development environments for all the developers in a team.Vagrant Use Casesįollowing are the real-world use cases for Vagrant You can then package the box with all configurations and share it with other team members. You can also add shell scripts or use chef cookbooks, puppet modules, or Ansible playbooks to the Vagrantfile to automate the VM configuration process. You can download readily available community boxes from Vagrantcloud. This box format can be shared with anyone who uses Vagrant. The vagrant box is a prebaked Virtual machine image (Ubuntu, Centos, etc). Vagrant Box = Virtual Machine Image (Something similar to the ISO image you use with the virtual box to create VMs from scratch) In the sample Vagrantfile, you can see a parameter named “ config.vm.box“. A similar workflow like how Docker Works Vagrant Boxes If someone has Vagrant installed on their system, you can share the Vagrantfile with them and they can build a similar VM you have created. Here is an example Vagrantfile, # -*- mode: ruby -*-Ĭonfig.vm.network "private_network", ip: "192.168.33.10" To put it simply, you define everything you need in a VM in the Vagrantfile, and Vagrant will take care of configuring those in the VM. Using Vagrant, you can easily create virtual development environments from exiting VM images and have all the VM configs in a configuration file called Vagrantfile. It abstracts away all the complex activities involved in managing a VM through the VM solutions and can automate most of the tasks. It is a wrapper utility that works on top of Virtual machine solutions like Virtualbox, HyperV, VMware, and also Docker. ĬentOS 6.5 x86_64 ĬentOS 6.5 i386 Minimal (VirtualBox Guest Additions 4.2.16, Chef 11.6.0, Puppet 3.2.3)ĬentOS 6.7 i386 Minimal (VirtualBox Guest Additions 4.3.26)ĭebian 6 Squeeze 圆4 configured according to documentationĭebian Squeeze 6.0.6 32 - Vanilla (No Ruby, no puppet, only Chef 10.14 from omnibus installer)ĭebian squeeze 64 (French (Swiss) keyboard layout)ĭebian Squeeze amd64 (with Puppet, Chef and VirtualBox 4.2.1)ĭebian Squeeze amd64 (with VirtualBox 4.2.4)ĭebian Squeeze amd64 (Chef 10.24.4, Puppet 3.1.1, VirtualBox 4.2.12)ĭebian Squeeze i386 6.0.7 (Chef 10.18.2, Puppet 2.6.2, VirtualBox 4.2.6, nfs-common 1.2.2)ĭebian Squeeze 6.0.7 amd64 (french) with Puppet 3.1.1, Chef 11.4.0 and VirtualBox 4.2.12, built with Veewee 0.3.7 (0)ĭebian Squeeze amd64 (Puppet 3.2.3, LXC, 2013.07.Vagrant is an open-source utility created by guys in Hashicorp. GovReady™ CentOS 6.5 x86_64 pre-hardened FISMA "server" profile. OpenBSD 5.4 64-bit + Chef 11.8.2 (150GB HDD)Īegir-up Aegir (Debian Squeeze 6.0.4 64-bit)Īegir-up Debian (Debian Squeeze 6.0.4 64-bit)Īegir-up LAMP (Debian Squeeze 6.0.4 64-bit)ĪppScale 1.12.0 (Ubuntu Precise 12.04 64-bit)Īrch Linux 64 () - Chef 11.6.0 from gem, Ruby from pacmanĬentOS 5.6 64 Packages (puppet 2.6.10 & chef 0.10.6 from RPM, VirtualBox 4.2.0)ĬentOS 5.8 x86_64 minimal + guest additions, puppet, chefĬentOS 5.9 x86_64 minimal + guest additions, puppet, chefĬentOS 5.10 x86_64 Base, VMware Tools, Chef 11.6 (Omnibus), Puppet 3.3.2 (Vendor repo)ĬentOS 2.6 i386.box (minimal, guest additions)ĬentOS 6.3 x86_64 + Chef 10.14.2 + VirtualBox 4.1.22 (with guest additions)ĬentOS 6.4 i386 Minimal (VirtualBox Guest Additions 4.3.2, Chef 11.8.0, Puppet 3.3.1)ĬentOS 6.4 x86_64 Minimal (VirtualBox Guest Additions 4.3.2, Chef 11.8.0, Puppet 3.3.1)ĬentOS 6.4 x86_64 Minimal VMware Fusion (VMware Tools, Chef 11.4.0, Puppet 3.1.1)ĬentOS 6.5 x86_64 with 50G dynamic disk for Docker work. To use the available boxes just replace ĭebian Jessie 8.1.0 Release 圆4 (Minimal, Guest Additions 4.3.26)ĬentOS 7.0 圆4 (Minimal, VirtualBox Guest Additions 4.3.28, Puppet 3.8.1 - see here for more infos)ĬentOS 6.6 圆4 (Minimal, VirtualBox Guest Additions, Puppet 3.7.5 - see here for more infos)ĬentOS 7 圆4 (Minimal, Shrinked, Guest Additions 4.3.26) (Monthly updates)ĬentOS 7.2 圆4 (Minimal, Puppet 4.2.3, Guest Additions 4.3.30)ĬentOS 6.7 圆4 (Minimal, Puppet 4.2.3, Guest Additions 4.3.30)ĭebian Jessie 8.0 Release 圆4 (Minimal, Shrinked, Guest Additions 4.3.26)ĭebian 8.1 圆4 (LXC, Puppet 3.7.2, Guest Additions 4.3.28)ĭebian Jessie 8.0 RC2 64-bit (Mininimal, Shrinked + Guest Additions 4.3.24 + Puppet 3.7.2)ĭebian 7.3.0 64-bit Puppet 3.4.1 (Vagrant 1.4.0) Suggest a Boxĭo you know of another base box? Send a pull request and we'll add it to the list below. 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. With a simple vagrant up you can be working in a clean environment based on a standard template. Vagrant is an amazing tool for managing virtual machines via a simple to use command line interface.
0 Comments
Leave a Reply. |