mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
248c699ec8
Signed-off-by: Gaetan de Villele <gdevillele@gmail.com>
27 lines
738 B
Markdown
27 lines
738 B
Markdown
---
|
|
title: "rename"
|
|
description: "The rename command description and usage"
|
|
keywords: "rename, docker, container"
|
|
---
|
|
|
|
<!-- This file is maintained within the docker/docker Github
|
|
repository at https://github.com/docker/docker/. Make all
|
|
pull requests against that repo. If you see this file in
|
|
another repository, consider it read-only there, as it will
|
|
periodically be overwritten by the definitive file. Pull
|
|
requests which include edits to this file in other repositories
|
|
will be rejected.
|
|
-->
|
|
|
|
# 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.
|