命令

docker rename

描述

修改容器的名称

帮助

# docker rename --help

<!-- toc -->



<!-- tocstop -->

Usage: docker rename CONTAINER NEW_NAME

Rename a container

示例

  • 修改容器的名称
    $ docker rename my_container my_new_container
Copyright © 温玉 2021 | 浙ICP备2020032454号 all right reserved,powered by Gitbook该文件修订时间: 2020-09-13 07:32:51

results matching ""

    No results matching ""