tldr/pages/common/docker-rename.md

13 lines
230 B
Markdown

# docker rename
> Rename a container.
> More information: <https://docs.docker.com/engine/reference/commandline/rename>.
- Rename a container:
`docker rename {{container}} {{new_name}}`
- Display help:
`docker rename --help`