docker镜像改名字
时间: 2023-10-17 18:32:40 浏览: 93
Docker重命名镜像名称和TAG操作
要将Docker镜像改名字,你可以使用以下命令格式:docker tag 镜像ID 新名称。其中,镜像ID是原始镜像的唯一标识符,新名称是你想要给镜像起的新名字。
举个例子,如果你想将一个名为docker.io/macintoshplus/rabbitmq-management的镜像改名为new-rabbitmq,你可以使用以下命令:docker tag docker.io/macintoshplus/rabbitmq-management new-rabbitmq。这将创建一个新的标签为new-rabbitmq的镜像,它将是原始镜像的一个副本,但具有新的名称。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [如何修改docker镜像名称?](https://blog.csdn.net/Andye9/article/details/118308864)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Docker 镜像 重命名](https://blog.csdn.net/m0_67403013/article/details/124512659)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文