From 3264ef50a92e6a0c349058152f92f55fd13e0423 Mon Sep 17 00:00:00 2001 From: Spencer Herzberg Date: Thu, 20 Mar 2014 13:58:56 -0500 Subject: [PATCH] install docker 0.9.0 in the vagrant box by default --- Vagrantfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index e6ff401e..742258ec 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -84,4 +84,14 @@ PROVISIONING COMPLETE: Visit http://localhost:8080/install DONE EOF + + config.vm.provision "shell", inline: <<-EOF + sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 + sudo sh -c 'echo deb http://get.docker.io/ubuntu docker main' > /etc/apt/sources.list.d/docker.list + sudo apt-get update + sudo apt-get install -y linux-image-generic-lts-raring linux-headers-generic-lts-raring + sudo apt-get install -y lxc-docker-0.9.0 + EOF + + end