DockerCLI/docs/reference/commandline/rename.md

22 lines
277 B
Markdown
Raw Normal View History

# rename
<!---MARKER_GEN_START-->
Rename a container
### Aliases
`docker container rename`, `docker rename`
<!---MARKER_GEN_END-->
## Description
The `docker rename` command renames a container.
## Examples
```console
$ docker rename my_container my_new_container
```