vagrant-docker/Vagrantfile

12 lines
345 B
Ruby
Raw Normal View History

Vagrant.configure("2") do |config|
config.vm.box = "debian/bullseye64"
config.vm.synced_folder ".", "/vagrant"
config.vm.network "private_network", type: "dhcp"
config.vm.provision "shell", inline: <<-SHELL
apt-get update
apt-get install -y docker.io docker-compose
apt-get clean
usermod -a -G docker vagrant
SHELL
end