does docker image prune remove images from registry code example
Example 1: docker remove images without tag
docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
Example 2: remove all docker images
$images = docker images -a -q
foreach ($image in $images) { docker image rm $image -f }