vagrant
Installation
SKILL.md
Vagrant
Vagrant provides reproducible, portable development environments using Virtual Machines (VirtualBox, VMWare, Hyper-V).
When to Use
- Local Multi-VM Development Environments: Creating isolated virtual machines using VirtualBox, VMware, or Libvirt.
- Testing Infrastructure Playbooks: Validating Ansible, Chef, and shell provisioning scripts before cloud deployment.
- Legacy System Emulation: Simulating specific enterprise Linux OS distributions and kernel versions locally.
- Cross-Platform Team Alignment: Providing identical developer VM environments across macOS, Windows, and Linux.
Quick Start
# Vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "hashicorp/bionic64"
config.vm.network "forwarded_port", guest: 80, host: 8080