I'm using Docker 1.10.3.
Docker Image Specification v1.0.0 says there is an Image Checksum field in a Docker Image JSON Description, like:
"checksum": "tarsum.v1+sha256:e58fcf7418d2390dec8e8fb69d88c06ec07039d651fedc3aa72af9972e7d046b",
However, there is no such a field in the result of docker inspect <IMAGE>
.
How can I get the checksum of a particular image?
You have the command
$ docker images --digests
for example:
docker images --digests busybox
REPOSITORY TAG DIGEST IMAGE ID CREATED SIZE
busybox latest sha256:32f093055929dbc23dec4d03e09dfe971f5973a9ca5cf059cbfb644c206aa83f 00f017a8c2a6 2 months ago 1.11 MB
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With