Merge pull request #6722 from KaffeJunky123/patch-1

Fix Docker provisioning for Debian/Jessie box
This commit is contained in:
Mitchell Hashimoto 2015-12-24 12:03:21 -08:00
commit 0b83d54409
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ module VagrantPlugins
def self.docker_install(machine) def self.docker_install(machine)
machine.communicate.tap do |comm| machine.communicate.tap do |comm|
comm.sudo("apt-get update -qq -y") comm.sudo("apt-get update -qq -y")
comm.sudo("apt-get install -qq -y --force-yes curl") comm.sudo("apt-get install -qq -y --force-yes curl apt-transport-https")
comm.sudo("apt-get purge -qq -y lxc-docker* || true") comm.sudo("apt-get purge -qq -y lxc-docker* || true")
comm.sudo("curl -sSL https://get.docker.com/ | sh") comm.sudo("curl -sSL https://get.docker.com/ | sh")
end end