Created
March 7, 2022 23:31
-
-
Save bmcculley/99dfcc1a8957ab735c5db4d02ed0d8fe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /tmp | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
sh /tmp/get-docker.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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