How to remove untagged images from docker

Untagged images are not in use and we can simply remove them to free up the disk space.

#docker rmi $(docker images | awk '/^<none>/ {print $3}')

This command will remove all <none> tagged images from docker repository.

That's all…

Leave a Reply