From 95511f1074a76db6f1f6ae66c971849b59f6aba0 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Wed, 6 May 2015 15:47:53 -0700 Subject: [PATCH] integration: force start_docker_with_busybox to only take the latest tag Signed-off-by: Andrea Luzzardi --- test/integration/helpers.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/helpers.bash b/test/integration/helpers.bash index e6a9eb1075..9865006b66 100644 --- a/test/integration/helpers.bash +++ b/test/integration/helpers.bash @@ -153,8 +153,8 @@ function swarm_join_cleanup() { function start_docker_with_busybox() { # Preload busybox if not available. - [ "$(docker_host images -q busybox)" ] || docker_host pull busybox - [ -f "$BUSYBOX_IMAGE" ] || docker_host save -o "$BUSYBOX_IMAGE" busybox + [ "$(docker_host images -q busybox)" ] || docker_host pull busybox:latest + [ -f "$BUSYBOX_IMAGE" ] || docker_host save -o "$BUSYBOX_IMAGE" busybox:latest # Start the docker instances. local current=${#DOCKER_CONTAINERS[@]}