The metadata returned from here: https://docker-py.readthedocs.io/en/stable/api.html#docker.api.image.ImageApiMixin.inspect_distribution
Contains a digest that doesn't match anything else I can find from the docker API. What exactly is the source of that digest and does this library supply a way to retrieve a digest from a remote image rather than doing a direct API call like:
http --verify no https://myregistry.com/myimage/manifests/latest Accept:application/vnd.docker.distribution.manifest.v2+json | jq
And secondary to this, do multiplatform images have a single digest for the manifest list, or does each manifest have its own digest. My goal is to compare a locally built image against a remote image to see if they are identical.