Skip to content

Instantly share code, notes, and snippets.

@nicosingh
Last active December 4, 2018 21:42
Show Gist options
  • Select an option

  • Save nicosingh/1b59dfb10fd09c00537f7d4c24d7cd56 to your computer and use it in GitHub Desktop.

Select an option

Save nicosingh/1b59dfb10fd09c00537f7d4c24d7cd56 to your computer and use it in GitHub Desktop.
workaround to run Goad using Docker in your macos

Instructions:

$ vagrant up
$ vagrant ssh goad-node
vagrant@vagrant:~$ ./goad -n 0 -c 10 -t 60 --run-docker https://www.example.com
#!/bin/bash
# install unzip
apt-get update
apt-get install unzip -y
# download goad
wget https://github.com/goadapp/goad/releases/download/2.0.4/goad-linux-x86-64.zip -O /home/vagrant/goad.zip
# install goad
cd /home/vagrant
unzip goad.zip
rm goad.zip
chown vagrant:vagrant /home/vagrant/goad
chmod +x /home/vagrant/goad
Vagrant.configure("2") do |config|
config.vm.provider "virtualbox" do |vb|
vb.memory = "12288"
vb.cpus = "6"
end
config.vm.define "goad-node" do |node|
node.vm.box = "bento/ubuntu-16.04"
node.vm.provision "docker"
node.vm.provision "shell", path: "install-goad.sh"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment