how to purge all docker images code example Example: docker delete all images docker rmi -f $(docker images -a -q)