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