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
chat icon Feedback? Suggestions? Can't find something in the docs?
Edit this page Request docs changes Get support