provisioners/docker: always pull images [GH-2901]
This commit is contained in:
parent
1d69e95c1c
commit
38c2a48ff4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue