vagrant
Installation
SKILL.md
Vagrant
Vagrant provides reproducible, portable development environments using Virtual Machines (VirtualBox, VMWare, Hyper-V).
When to Use
- Legacy/Full OS Dev: You need to simulate a full Linux Kernel or multi-vm network that Docker cannot easily do.
- Local Testing: Testing Ansible Playbooks locally on a clean VM.
- Windows/Mac: Running Linux VMs on non-Linux hardware with ease.
Quick Start
# Vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "hashicorp/bionic64"
config.vm.network "forwarded_port", guest: 80, host: 8080