I have a simple question about the docker load
command.
If an image exists in the local repository and running the docker load
command loads an image with the same name as the one that is in the repository, does the old image get replaced with the one that is loaded?
As shown in docker load
page, it "restores both images and tags."
So an image from the same name doesn't get overwritten.
A docker images
would simply lists the newly loaded image alongside the existing one, with their respective ids and tags.
As explained in "Content trust in Docker", a registry can include multiple images of the same names (but with different ids or tags)
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