I generated a Docker image locally and once created it appears in docker images --digests
but without digest.
REPOSITORY TAG DIGEST IMAGE ID CREATED SIZE
exampleimage local <none> e143f92ce9bc 3 minutes ago 146MB
How can I generate a digest for this image without uploading it to a v2 registry ?
I plan to use it in a subsequent script and upload it only if the script succeed.
Thanks.
Edit: Apparently, the digest does not depend of the registry in v2-2
as found here Why digests are different depend on registry? so it should be possible to generate it locally.