github.com/olljanat/moby@v1.13.1/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  <!-- This file is maintained within the docker/docker Github
     8       repository at https://github.com/docker/docker/. Make all
     9       pull requests against that repo. If you see this file in
    10       another repository, consider it read-only there, as it will
    11       periodically be overwritten by the definitive file. Pull
    12       requests which include edits to this file in other repositories
    13       will be rejected.
    14  -->
    15  
    16  # rename
    17  
    18  ```markdown
    19  Usage:  docker rename CONTAINER NEW_NAME
    20  
    21  Rename a container
    22  
    23  Options:
    24        --help   Print usage
    25  ```
    26  
    27  The `docker rename` command allows the container to be renamed to a different name.