I wonder if it is possible to debug command like docker pull against its source (https://github.com/docker/docker-ce/blob/master/components/cli/vendor/github.com/docker/docker/client/image_create.go I guess) ?
docker pull