I am a newbie to Docker, and I know that in order to run a container I can use the following command:
docker run -it --name custom-container-name --hostname custom-hostname image-name bash
The previous command creates a container named custom-container-name which hostname is custom-hostname, and it uses the image image-name. I know that the -it flag gives me access to the bash. (please correct me if I am wrong)
Now, I have stopped this container, but I want use it again, so what is the command I should use to open this container again with its bash, as when I run the docker run ... command the first time it was created.