summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJim Ladd <jladd@ansible.com>2016-10-05 16:31:45 +0200
committerJim Ladd <jladd@ansible.com>2016-10-05 16:31:45 +0200
commit89ae7ebe76eb734f90a4ce506093d22dd7fc5083 (patch)
treeb3f9c2164b4e1a9311b36249c5da9655439dd7f6 /Makefile
parentUpdates to clustering doc (diff)
downloadawx-89ae7ebe76eb734f90a4ce506093d22dd7fc5083.tar.xz
awx-89ae7ebe76eb734f90a4ce506093d22dd7fc5083.zip
Clean docker images by name
Diffstat (limited to '')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 01219e9c21..62aa4dd633 100644
--- a/Makefile
+++ b/Makefile
@@ -771,7 +771,7 @@ MACHINE?=default
docker-clean:
eval $$(docker-machine env $(MACHINE))
$(foreach container_id,$(shell docker ps -f name=tools_tower -aq),docker stop $(container_id); docker rm -f $(container_id);)
- -docker images | grep "tower_devel" | awk '{print $$3}' | xargs docker rmi
+ -docker images | grep "tower_devel" | awk '{print $$1 ":" $$2}' | xargs docker rmi
docker-refresh: docker-clean docker-compose