How to remove <none> images after building

This works for me.
docker image prune -f