由于我的评论回答了您的问题,原始信用转到这里的帖子: https://windsock.io/explaining-docker-image-ids/
图层由以下形式的摘要标识: algorithm:hex 看起来像 sha256:abcd.... 。
algorithm:hex
sha256:abcd....
该 hex 通过应用算法计算( sha256 )到图层内容。如果内容发生变化,则摘要会发生变化。
hex
sha256