I created a container from a specific image using the command:
$ docker run -d -P selenium/hub
The status of the current container is below:
$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 345df9ed5b47 selenium/hub "/opt/bin/entry_point" 5 seconds ago Up 4 seconds 0.0.0.0:32768->4444/tcp clever_williams
Here the default name is "clever_williams", and I forgot to give it a new name. Do I need to change the default name to the running container, so how to do it?
source share