reproducible-containers / diffoci

diff for Docker and OCI container images
Apache License 2.0
270 stars 7 forks source link

Images with same name cannot be compared. #74

Open IvanT24 opened 6 months ago

IvanT24 commented 6 months ago

When loading an image with the same name as an already loaded image, it will be overwritten. I wanted to compare images with the same name built in two different environments, but i had to first use the docker tag command to change the name of one of the images before I exported it.

omus commented 1 month ago

Does using the digest hash work? e.g. debian@sha256:45f2e735295654f13e3be10da2a6892c708f71a71be845818f6058982761a6d3. You can determine the digest for your images with docker image ls --digests <image>.