mirror of
https://github.com/docker/cli.git
synced 2025-07-05 13:21:14 +03:00
these markdown files are not consumed directly in the docs, but only their content is included through the YAML does, so there's no need to have these comments in them Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
27 lines
381 B
Markdown
27 lines
381 B
Markdown
---
|
|
title: "rename"
|
|
description: "The rename command description and usage"
|
|
keywords: "rename, docker, container"
|
|
---
|
|
|
|
# rename
|
|
|
|
```markdown
|
|
Usage: docker rename CONTAINER NEW_NAME
|
|
|
|
Rename a container
|
|
|
|
Options:
|
|
--help Print usage
|
|
```
|
|
|
|
## Description
|
|
|
|
The `docker rename` command renames a container.
|
|
|
|
## Examples
|
|
|
|
```bash
|
|
$ docker rename my_container my_new_container
|
|
```
|