2015-06-21 13:41:38 -07:00
|
|
|
<!--[metadata]>
|
|
|
|
+++
|
|
|
|
title = "rename"
|
|
|
|
description = "The rename command description and usage"
|
|
|
|
keywords = ["rename, docker, container"]
|
|
|
|
[menu.main]
|
|
|
|
parent = "smn_cli"
|
|
|
|
+++
|
|
|
|
<![end-metadata]-->
|
|
|
|
|
|
|
|
# rename
|
|
|
|
|
2015-10-03 17:56:41 +02:00
|
|
|
Usage: docker rename [OPTIONS] OLD_NAME NEW_NAME
|
2015-06-21 13:41:38 -07:00
|
|
|
|
2015-10-03 17:56:41 +02:00
|
|
|
Rename a container
|
|
|
|
|
2015-12-23 06:37:06 -08:00
|
|
|
--help Print usage
|
2015-06-21 13:41:38 -07:00
|
|
|
|
|
|
|
The `docker rename` command allows the container to be renamed to a different name.
|