mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
19 lines
385 B
Markdown
19 lines
385 B
Markdown
|
<!--[metadata]>
|
||
|
+++
|
||
|
title = "rename"
|
||
|
description = "The rename command description and usage"
|
||
|
keywords = ["rename, docker, container"]
|
||
|
[menu.main]
|
||
|
parent = "smn_cli"
|
||
|
weight=1
|
||
|
+++
|
||
|
<![end-metadata]-->
|
||
|
|
||
|
# rename
|
||
|
|
||
|
Usage: docker rename OLD_NAME NEW_NAME
|
||
|
|
||
|
rename a existing container to a NEW_NAME
|
||
|
|
||
|
The `docker rename` command allows the container to be renamed to a different name.
|