Skip to content

Instantly share code, notes, and snippets.

@vasi
Created July 29, 2014 17:03
Show Gist options
  • Select an option

  • Save vasi/107d03974babaa3ca6a2 to your computer and use it in GitHub Desktop.

Select an option

Save vasi/107d03974babaa3ca6a2 to your computer and use it in GitHub Desktop.
Vagrant for docker, trusty
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "trusty64"
config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.network :private_network, ip: "192.168.33.10"
config.vm.provision :docker
config.vm.provision :shell, :inline => <<-EOT
apt-get install -y curl git vim
apt-get install -y squid-deb-proxy
apt-get install -y pwgen unzip rsync wget
EOT
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment