diff options
author | Tal Gitelman <tg851x@intl.att.com> | 2017-10-01 12:47:54 +0300 |
---|---|---|
committer | Tal Gitelman <tg851x@intl.att.com> | 2017-10-01 19:38:16 +0300 |
commit | df3043dc2630f82c212ade41dec0f0b76aa02a18 (patch) | |
tree | f36b9a8ab8de4865678ff77c609f6124d72ecb11 /sdc-os-chef | |
parent | 9cee73a8b2a2ac82c57d100d5d3aebffec6d2f19 (diff) |
Scrip for docker image cleaning without base image
Change-Id: Iebb5c58213706e1bb92912f75ec99229dd4c2b05
Issue-ID: SDC-143
Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
Diffstat (limited to 'sdc-os-chef')
-rw-r--r-- | sdc-os-chef/scripts/clean_images_except_base.sh | 1 |
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}'` |