Skip to content

Instantly share code, notes, and snippets.

@ehazlett
Created November 8, 2013 01:27
Show Gist options
  • Save ehazlett/7364790 to your computer and use it in GitHub Desktop.
Save ehazlett/7364790 to your computer and use it in GitHub Desktop.
docker vagrant
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "raring64"
config.vm.hostname = "docker"
config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/raring/current/raring-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.provision :shell, :path => "provision.sh"
config.vm.network :private_network, ip: "10.10.10.50"
config.vm.network :forwarded_port, guest: 4243, host: 4243
# virtualbox config
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", 4096]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment