1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# -*- mode: ruby -*-
# vi: set ft=ruby :
#
# Actual docker host VM to run.
#
Vagrant.configure(2) do |config|
config.vm.box = "docker-host-base"
config.vm.define "docker-host"
config.vm.provider "virtualbox" do |vb|
vb.name = "docker-host"
vb.gui = true
vb.memory = "4096"
vb.cpus = 2
vb.customize ["modifyvm", :id, "--graphicscontroller", "vboxvga"]
vb.customize ["modifyvm", :id, "--accelerate3d", "on"]
vb.customize ["modifyvm", :id, "--ioapic", "on"]
vb.customize ["modifyvm", :id, "--vram", "128"]
vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
end
config.vm.network "private_network", ip: "192.168.59.104"
# TBD: would it be better to provision docker here instead of in the base box?
#config.vm.provision "docker"
end
|