Quickly learn How to rename a running Docker container with WhaleDeck Shorts. Clear, step-by-step guides for Docker.
The answer is quite simple. The following command shows how to rename the running Docker container my_container to my_new_container.
docker rename my_container my_new_container