Right, you are mixing up Git commit hashes with Docker image digests; they are both hashes, but they are very different things. The hash that you mention (6e99d1f57b3024a641d4c4adb9e86eee93198dd0
) is the last commit hash in GitHub, whereas the digest in your Docker operation is 6fe223b1fda01e0429096da6fe56fd489fc2d40a864a09c5f60129f159e1102d
.
Oddly, the image digest I get is different; I just pulled your image from Docker Hub, and I get this hash:
docker pull hotbelgo/docker-elm
Using default tag: latest
latest: Pulling from hotbelgo/docker-elm
61be48634cb9: Pull complete
fa696905a590: Pull complete
b6dd2322bbef: Pull complete
32477089adb4: Pull complete
febe7209ec28: Pull complete
4364cbe57162: Pull complete
ace5c680ff94: Pull complete
4acd6a9b7a48: Pull complete
39e065ed4e16: Pull complete
Digest: sha256:4fd02ff64df88aeee5a9485328591d1a31df64f36a735b9583dabc55449b1630
Status: Downloaded newer image for hotbelgo/docker-elm:latest
It may be worth checking your build process again, since you may have copied the wrong data.
I just tried pulling by hash, and it does seem to be an old one:
docker pull hotbelgo/docker-elm@sha256:6fe223b1fda01e0429096da6fe56fd489fc2d40a864a09c5f60129f159e1102d
sha256:6fe223b1fda01e0429096da6fe56fd489fc2d40a864a09c5f60129f159e1102d: Pulling from hotbelgo/docker-elm
61be48634cb9: Already exists
fa696905a590: Already exists
b6dd2322bbef: Already exists
32477089adb4: Already exists
febe7209ec28: Already exists
4364cbe57162: Already exists
ace5c680ff94: Already exists
4acd6a9b7a48: Already exists
f7309a220cb3: Pull complete
Digest: sha256:6fe223b1fda01e0429096da6fe56fd489fc2d40a864a09c5f60129f159e1102d
Status: Downloaded newer image for hotbelgo/docker-elm@sha256:6fe223b1fda01e0429096da6fe56fd489fc2d40a864a09c5f60129f159e1102d
So, re-run your project that uses this image, and re-check the digest.