Docker Tip #31: How to Remove Dangling Docker Images
nickjanetakis.com › blog › docker-tip-31-how-toNov 24, 2017 · Dangling images are not referenced by other images and are safe to delete. If you have a lot of them, it can be really tedious to remove them, but lucky for us Docker has a few commands to help us eliminate dangling images. In older versions of Docker (and this still works today), you can delete dangling images on their own by running docker rmi -f $ (docker images -f "dangling=true" -q).