Skip to content

Instantly share code, notes, and snippets.

@robzhu
Created April 18, 2016 01:08
Show Gist options
  • Save robzhu/1a847803a4c39ca4e3174f2d0b545515 to your computer and use it in GitHub Desktop.
Save robzhu/1a847803a4c39ca4e3174f2d0b545515 to your computer and use it in GitHub Desktop.
Vagrantfile for building a trusty64 box as a docker host
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", ip: "192.168.10.101"
config.vm.provider "virtualbox" do |vb|
vb.memory = 2048
vb.cpus = 2
end
config.vm.provision "shell", inline: <<-SHELL
wget -qO- https://get.docker.com/ | sh
SHELL
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment