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.
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>.
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.