commit | df3043dc2630f82c212ade41dec0f0b76aa02a18 | [log] [tgz] |
---|---|---|
author | Tal Gitelman <tg851x@intl.att.com> | Sun Oct 01 12:47:54 2017 +0300 |
committer | Tal Gitelman <tg851x@intl.att.com> | Sun Oct 01 19:38:16 2017 +0300 |
tree | f36b9a8ab8de4865678ff77c609f6124d72ecb11 | |
parent | 9cee73a8b2a2ac82c57d100d5d3aebffec6d2f19 [diff] [blame] |
Scrip for docker image cleaning without base image Change-Id: Iebb5c58213706e1bb92912f75ec99229dd4c2b05 Issue-ID: SDC-143 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
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 0000000..77e143a --- /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}'`