The digest is a hash file sha256 of the docker image, but the image is not one file, but a set of layers. I assumed that the digest was a sha256 hash over the image manifest file, but I calculated the sha256 hash file from numerous manifest files and compared the result with the docker-digest providing the image, and they are diff. So what exactly is the sha256 hash for creating an Image digest value?
source
share