github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/cli/docs/reference/commandline/rename.md (about)

     1  ---
     2  title: "rename"
     3  description: "The rename command description and usage"
     4  keywords: "rename, docker, container"
     5  ---
     6  
     7  # rename
     8  
     9  ```markdown
    10  Usage:  docker rename CONTAINER NEW_NAME
    11  
    12  Rename a container
    13  
    14  Options:
    15        --help   Print usage
    16  ```
    17  
    18  ## Description
    19  
    20  The `docker rename` command renames a container.
    21  
    22  ## Examples
    23  
    24  ```bash
    25  $ docker rename my_container my_new_container
    26  ```