remove all untaged images code example Example: remove all untaged images docker rmi $(docker images | grep "^" | awk "{print $3}")