install docker 0.9.0 in the vagrant box by default
This commit is contained in:
parent
b1cbc21b2c
commit
3264ef50a9
1 changed files with 10 additions and 0 deletions
10
Vagrantfile
vendored
10
Vagrantfile
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue