aboutsummaryrefslogtreecommitdiff
path: root/Tools/ros/vagrant/docker-host/Vagrantfile
diff options
context:
space:
mode:
authorTrent Lukaczyk <aerialhedgehog@gmail.com>2015-02-05 20:19:04 -0800
committerTrent Lukaczyk <aerialhedgehog@gmail.com>2015-02-05 20:19:04 -0800
commit531eaa231486c6af46394f6842d420447cb0ee0e (patch)
treee7a90d8c50d700a2b7aff05c5a545162810d4967 /Tools/ros/vagrant/docker-host/Vagrantfile
parent6798aee13a5bb885966960cdba6ab57b14278ab0 (diff)
parent7e6198b3dd517e1158431c8344c5912a6c28b363 (diff)
downloadpx4-firmware-531eaa231486c6af46394f6842d420447cb0ee0e.tar.gz
px4-firmware-531eaa231486c6af46394f6842d420447cb0ee0e.tar.bz2
px4-firmware-531eaa231486c6af46394f6842d420447cb0ee0e.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'Tools/ros/vagrant/docker-host/Vagrantfile')
-rw-r--r--Tools/ros/vagrant/docker-host/Vagrantfile38
1 files changed, 38 insertions, 0 deletions
diff --git a/Tools/ros/vagrant/docker-host/Vagrantfile b/Tools/ros/vagrant/docker-host/Vagrantfile
new file mode 100644
index 000000000..2a0a02271
--- /dev/null
+++ b/Tools/ros/vagrant/docker-host/Vagrantfile
@@ -0,0 +1,38 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+#
+# Actual docker host VM to run.
+#
+# Maintainer: Andreas Antener <andreas@uaventure.com>
+#
+# To add local docker images into the docker host, configure your local
+# docker client to control the docker daemon on the running "docker-host" VM.
+# The box ("docker-host-base") configures docker to listen on any IP on port 2375.
+# You can then load an existing image, e.g.:
+# "docker load -i container-image.tar"
+#
+# License: according to LICENSE.md in the root directory of the PX4 Firmware repository
+
+Vagrant.configure(2) do |config|
+ config.vm.box = "uaventure/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