From df3043dc2630f82c212ade41dec0f0b76aa02a18 Mon Sep 17 00:00:00 2001 From: Tal Gitelman Date: Sun, 1 Oct 2017 12:47:54 +0300 Subject: Scrip for docker image cleaning without base image Change-Id: Iebb5c58213706e1bb92912f75ec99229dd4c2b05 Issue-ID: SDC-143 Signed-off-by: Tal Gitelman --- sdc-os-chef/scripts/clean_images_except_base.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 sdc-os-chef/scripts/clean_images_except_base.sh (limited to 'sdc-os-chef/scripts') 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}'` -- cgit 1.2.3-korg