Remove untagged docker images I often want to clean docker images repository after builds docker-compose up -d --build To remove all images with no name docker image ls | awk '/^<none>/ {print $3}' | xargs -r docker image rm