Skip to content

Instantly share code, notes, and snippets.

@shin1x1
Created December 10, 2013 06:47
Show Gist options
  • Save shin1x1/7886660 to your computer and use it in GitHub Desktop.
Save shin1x1/7886660 to your computer and use it in GitHub Desktop.
Docker Provisioner sample on Vagrant 1.4
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "precise64"
config.vm.provision "docker" do |d|
d.run "ubuntu",
cmd: "bash -l",
args: "-v '/vagrant:/var/www'"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment