I’m really confused about the SHA digests on Docke...
# docker
l
I’m really confused about the SHA digests on Docker Hub. If I run
docker inspect ortussolutions/commandbox:3.7.3
, it has:
Copy code
"Id": "sha256:2fe979c002badc0dc93a83a44e125b885f55a711568923cb426aa7ba482acbf9",
        "RepoTags": [
            "ortussolutions/commandbox:3.7.3"
        ],
        "RepoDigests": [
            "ortussolutions/commandbox@sha256:de82a552476be37fa85cd53ac3309b35af539cb1b6b1e3a4d465424a8c75162a"
        ],
Yet, the page for this image (in my arch) is https://hub.docker.com/layers/ortussolutions/commandbox/3.7.3/images/sha256-a7302890bb652705cb25bad778775dbc7ae14d6836515449ba1b1c29a23942c5?context=explore , and it lists the image’s digest as
a7302890bb652705cb25bad778775dbc7ae14d6836515449ba1b1c29a23942c5
I would expect that the digests in both places would match up.
j
Which architecture is your local machine running on?
docker inspect
will only give you the local SHA
If you have any configuration set to pull a different architecture, then your machine is going to use that
l
It’s
arm64
. The
inspect
output confirms that my image is built for that arch.