Skip to content

Instantly share code, notes, and snippets.

@kesor
Last active August 29, 2015 14:02
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kesor/dfece549c22ddd3eccad to your computer and use it in GitHub Desktop.
Save kesor/dfece549c22ddd3eccad to your computer and use it in GitHub Desktop.
docker workshop
ENV['VAGRANT_NO_PLUGINS'] = 'true'
Vagrant.configure("2") do |v|
v.vm.box = "yungsang/boot2docker"
v.vm.box_version = ">= 1.3.7"
v.vm.box_check_update = false
v.vm.network :forwarded_port, guest: 5000, host: 60050
v.vm.network :forwarded_port, guest: 8500, host: 60085
v.vm.network :forwarded_port, guest: 8080, host: 60080
v.vm.provider "virtualbox" do |vb|
vb.memory = ENV.fetch 'BOX_MEMORY', '1024'
vb.cpus = ENV.fetch 'BOX_CPUS', '1'
vb.functional_vboxsf = false
vb.check_guest_additions = false
end
end
class Vagrant::Action::Builtin::WaitForCommunicator
def call(env); end # do nothing!
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment