Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 371 Bytes

docker-rename.md

File metadata and controls

14 lines (8 loc) · 371 Bytes

Rename docker container

docker rename {{CONTAINER_NAME}} {{NEW_CONTAINER_NAME}}

  • CONTAINER_NAME: Name/ID of container which needs to be renamed
  • NEW_CONTAINER_NAME: New name which is to be updated for the container

Example:

docker rename ak-cli-container ak-container

Related Commands