mirror of https://github.com/docker/docs.git
23 lines
358 B
Markdown
23 lines
358 B
Markdown
---
|
|
description: The rename command description and usage
|
|
keywords:
|
|
- rename, docker, container
|
|
menu:
|
|
main:
|
|
parent: smn_cli
|
|
title: rename
|
|
---
|
|
|
|
# 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.
|