重命名容器.

Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
rick.chan 2020-06-30 17:33:06 +08:00
parent 9b6db57445
commit cd5bcfb73b
1 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,8 @@ docker container ls -a -p
docker container stop <container id> docker container stop <container id>
# 删除容器 # 删除容器
docker container rm <container id> docker container rm <container id>
# 重命名容器
docker container rename <current name> <name>
``` ```
### 镜像操作 ### 镜像操作