How to rename a docker container?

Is it possible to change the parameter-name in the existing Docker container-huh?

Pliz tell me how - do not rummage at all
March 12th 20 at 08:08
1 answer
March 12th 20 at 08:10
If about an already running container
docker rename oldname newname
If missile is not launched, then
docker run --name my_cool_name hello-world
Thank you - Pietro36 commented on March 12th 20 at 08:13

Find more questions by tags Docker