From 2a967879fb40a137405e00345b53fac78e4f7c80 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Wed, 18 Mar 2015 14:05:27 -0700 Subject: [PATCH] Fix the removal of busybox image --- test/integration/roles/test_docker/tasks/registry-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/roles/test_docker/tasks/registry-tests.yml b/test/integration/roles/test_docker/tasks/registry-tests.yml index fea9bdabf7..e8f0596171 100644 --- a/test/integration/roles/test_docker/tasks/registry-tests.yml +++ b/test/integration/roles/test_docker/tasks/registry-tests.yml @@ -20,7 +20,7 @@ command: "docker push localhost:5000/mine" - name: Remove the busybox image from the local docker - command: "docker rmi -f busybox" + command: "docker rmi -f {{ image_id.stdout_lines[0] }}" - name: Remove the new image from the local docker command: "docker rmi -f localhost:5000/mine"