DockerCLI/docs/reference/commandline/rename.md

277 B

rename

Rename a container

Aliases

docker container rename, docker rename

Description

The docker rename command renames a container.

Examples

$ docker rename my_container my_new_container