mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
e6115a6c1c
This re-aligns the docs with what the cmd line now does. Signed-off-by: Doug Davis <dug@us.ibm.com>
19 lines
398 B
Markdown
19 lines
398 B
Markdown
<!--[metadata]>
|
|
+++
|
|
title = "rename"
|
|
description = "The rename command description and usage"
|
|
keywords = ["rename, docker, container"]
|
|
[menu.main]
|
|
parent = "smn_cli"
|
|
+++
|
|
<![end-metadata]-->
|
|
|
|
# rename
|
|
|
|
Usage: docker rename [OPTIONS] OLD_NAME NEW_NAME
|
|
|
|
Rename a container
|
|
|
|
--help Print usage
|
|
|
|
The `docker rename` command allows the container to be renamed to a different name.
|