How to remove <none> images after building

You should do
docker images -f “dangling=true” -q this will print you all the dangling images (untagged images)

the filtering also works for dangling volumes.

2 Likes