Removing dangling (intermediate) images from Docker
If you’re working with docker you may face out of space problems. You can free some space by removing the intermediate images that docker users to create the final images.
This is the command
docker rmi $(docker images -f 'dangling=true' -q)
If you need free space this can be usefull too
docker system prune
Use it wisely
Cheers