provisioners/docker: always pull images [GH-2901]

This commit is contained in:
Mitchell Hashimoto 2014-02-03 16:26:38 +01:00
parent 1d69e95c1c
commit 38c2a48ff4
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ module VagrantPlugins
@machine.communicate.tap do |comm|
images.each do |image|
@machine.ui.info(I18n.t("vagrant.docker_pulling_single", name: image))
comm.sudo("docker images | grep -q #{image} || docker pull #{image}")
comm.sudo("docker pull #{image}")
end
end
end