Skip to content

Instantly share code, notes, and snippets.

@cjlarose
Created March 7, 2014 18:37
Show Gist options
  • Save cjlarose/9417185 to your computer and use it in GitHub Desktop.
Save cjlarose/9417185 to your computer and use it in GitHub Desktop.
Minimal Vagrantfile for Docker development
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
end
Vagrant.configure("2") do |config|
for i in 49000..49900
config.vm.network "forwarded_port", guest: i, host: i
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment