mirror of https://github.com/docker/docs.git
integration: force start_docker_with_busybox to only take the latest tag
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
cfbb555bba
commit
95511f1074
|
|
@ -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[@]}
|
||||
|
|
|
|||
Loading…
Reference in New Issue