Created
April 18, 2016 01:08
-
-
Save robzhu/1a847803a4c39ca4e3174f2d0b545515 to your computer and use it in GitHub Desktop.
Vagrantfile for building a trusty64 box as a docker host
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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