Skip to content

Instantly share code, notes, and snippets.

@bmcculley
Created March 7, 2022 23:31
Show Gist options
  • Save bmcculley/99dfcc1a8957ab735c5db4d02ed0d8fe to your computer and use it in GitHub Desktop.
Save bmcculley/99dfcc1a8957ab735c5db4d02ed0d8fe to your computer and use it in GitHub Desktop.
cd /tmp
curl -fsSL https://get.docker.com -o get-docker.sh
sh /tmp/get-docker.sh
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/bionic64"
config.vm.define "docker-1" do |node|
node.vm.hostname = "docker-1"
config.vm.box_check_update = false
config.vm.network "public_network"
config.vm.provider "virtualbox" do |vb|
vb.name = "docker-1"
vb.memory = "2048"
vb.cpus = "2"
end
node.vm.provision "install-docker", type: "shell", :path => "ubuntu/install-docker-2.sh"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment