I would like to pull out the centos, tomcat, ... images using their sha256 code, as in
docker pull myimage@sha256 :0ecb2ad60
but I can not find the sha256 code to use anywhere.
I checked the dockerhub repository for any hint of sha256 code, but could not find any. I downloaded images by their tags
docker pull tomcat:7-jre8
and checked the image using the docker inspect window to see if there is sha256 code in the metadata, but it is not (adding the sha256 image code will probably change the sha256 code).
Do I need to calculate the sha256 code of the image myself and use it?
source share