docker rename

Description

Rename a container

Usage

$ docker rename CONTAINER NEW_NAME

Extended description

The docker rename command renames a container.

For example uses of this command, refer to the examples section below.

Examples

$ docker rename my_container my_new_container

Parent command

Command Description
docker The base command for the Docker CLI.