remove all images docker command code example Example: remove all images docker docker rmi $(docker images -a -q)