run bash in running container Apr 16, 2016 To attach to a running container named running_container run the following command. sudo docker exec -i -t running_container bash