我通过 docker save
命令保存了一个格式为.tar
的文件,然后通过 docker load
命令将其加载到另一台服务器上。当它成功时,Docker 给了我以下提示:
The image file:V2.0.0Beta1-test already exists, renaming the old one with ID sha256:46952aea8dd30da5a2645d28930381c0ed5f72acd4fac43ea8556cc360d22cf7 to empty string
Loaded image: file:V2.0.0Beta1-test
老图片需要保存,新图片也需要保存。现在我该怎么做?
docker tag
命令。 - Henry