aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sdc-os-chef/scripts/clean_images_except_base.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/sdc-os-chef/scripts/clean_images_except_base.sh b/sdc-os-chef/scripts/clean_images_except_base.sh
new file mode 100644
index 0000000000..77e143a01e
--- /dev/null
+++ b/sdc-os-chef/scripts/clean_images_except_base.sh
@@ -0,0 +1 @@
+docker rmi -f `docker images | grep -v base | awk '{print $3}'`