To attach to a running container named running_container run the following command.

sudo docker exec -i -t running_container bash