# 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
```
