This is a port to get https://raw.githubusercontent.com/moby/moby/master/contrib/download-frozen-image-v2.sh working on git bash
Thanks for the references in https://devops.stackexchange.com/questions/2731/downloading-docker-images-from-docker-hub-without-using-docker