github.com/sijibomii/docker@v0.0.0-20231230191044-5cf6ca554647/docs/reference/commandline/rename.md (about) 1 <!--[metadata]> 2 +++ 3 title = "rename" 4 description = "The rename command description and usage" 5 keywords = ["rename, docker, container"] 6 [menu.main] 7 parent = "smn_cli" 8 +++ 9 <![end-metadata]--> 10 11 # rename 12 13 Usage: docker rename [OPTIONS] OLD_NAME NEW_NAME 14 15 Rename a container 16 17 --help Print usage 18 19 The `docker rename` command allows the container to be renamed to a different name.