update image pull tests

Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
(cherry picked from commit 46f3d8bb7f)
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
This commit is contained in:
Riyaz Faizullabhoy
2017-10-06 16:32:57 -07:00
committed by Eli Uriegas
parent c76d10969f
commit cdee6d83f4
6 changed files with 102 additions and 52 deletions

View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -eu -o pipefail
src=busybox@sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7
dest=registry:5000/busybox:1.27.2
docker pull $src
docker tag $src $dest
docker push $dest

View File

@ -23,6 +23,7 @@ function setup {
export DOCKER_HOST="$engine_host"
timeout -t 200 ./scripts/test/e2e/wait-on-daemon
./scripts/test/e2e/load-alpine
./scripts/test/e2e/load-busybox
is_swarm_enabled || docker swarm init
) >&2
echo "$engine_host"

View File

@ -23,7 +23,7 @@ docker build \
-f dockerfiles/Dockerfile.dev .
notary_volume="${unique_id}_notary-fixtures"
docker volume create "$notary_volume"
docker volume create --name "$notary_volume"
docker run --rm \
-v "$PWD:/go/src/github.com/docker/cli" \
-v "$notary_volume:/data" \