docker rename

Estimated reading time: 1 minute

Description

Rename a container

Usage

docker rename CONTAINER NEW_NAME

Parent command

Command Description
docker The base command for the Docker CLI.

Extended description

The docker rename command renames a container.

Examples

$ docker rename my_container my_new_container
Rate this page:

 
98
 
19