sha256 of locally built docker image
问题 How do I get the sha256 checksum of an already locally built docker image? I want to use the checksum to annotate a FROM instruction in a derived image: FROM name@sha256:checksum I already tried checksums from docker inspect . Neither the first nor the last of the checksums in the Layers list worked. The one in "Id" did not work. The one in "Parent" did not work. The one in "Container" did not work. The one in "Image" did not work. Some of them I only tried out of desperation to finally find