docker image prune by tag none code example Example: docker remove images without tag docker rmi $(docker images --filter "dangling=true" -q --no-trunc)