📜  更改容器的名称 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:30.129000             🧑  作者: Mango

代码示例1
docker rename current container Id or name then new name

docker rename loving_gates redis_latest

container old name=loving_gates

container new name=redis_latest

check command "docker ps"