From 890772fde660670ead080c942e5d41565ef6cd85 Mon Sep 17 00:00:00 2001 From: Manuel Castellin Date: Fri, 28 Feb 2020 18:46:00 +0000 Subject: [PATCH] docs: provide documentation for docker remove untagged utility Documenting what the `docker_remove_untagged_img.sh` script does. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index ef4c89b..af08f04 100644 --- a/README.md +++ b/README.md @@ -21,3 +21,11 @@ The script allows me to easily see if there are some data volumes on my disk tha up a lot of space and are not needed anymore. You can find more details in my blog post [Listing information for all your named/unnamed data volumes](https://www.guidodiepen.nl/2017/04/listing-information-for-all-your-named-unnamed-data-volumes/) + +## docker_remove_untagged_img.sh + +The purpose for this script is to remove all untagged images from the docker local registry. +When building the same docker images multiple times, it is easy to leave a lot of them behind +without tags, especially when using `` tags. These eat up precious space in the +hard drive and have little benefit. The convenience script run the `docker rmi` command for all +images with no tags assigned.