From 38c2a48ff4f290ac02e001f6f338f97a406b2d30 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 3 Feb 2014 16:26:38 +0100 Subject: [PATCH] provisioners/docker: always pull images [GH-2901] --- plugins/provisioners/docker/client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/provisioners/docker/client.rb b/plugins/provisioners/docker/client.rb index 8f7e30369..48f83200a 100644 --- a/plugins/provisioners/docker/client.rb +++ b/plugins/provisioners/docker/client.rb @@ -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