1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/reference/commandline/rename.md

23 lines
400 B
Markdown
Raw Normal View History

<!--[metadata]>
+++
title = "rename"
description = "The rename command description and usage"
keywords = ["rename, docker, container"]
[menu.main]
parent = "smn_cli"
+++
<![end-metadata]-->
# rename
```markdown
Usage: docker rename CONTAINER NEW_NAME
Rename a container
Options:
--help Print usage
```
The `docker rename` command allows the container to be renamed to a different name.