From 4009c053f7c9a7ad91ca16088e0d727a8dbc3b97 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 fea9bdabf70..e8f0596171d 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"