docker get image size before pull acr
#For Microsoft Container Registry
#To enable docker manifest inspect, edit ~/.docker/config.json file and set experimental to enable.
docker manifest inspect -v <registry-domain>/<image-name> | grep size | awk -F ':' '{sum+=$NF} END {print sum}' | numfmt --to=iec-i