This is primarily so I don't forget. Most of the time docker containers just work and you don't have to worry about it. Except when you're creating one and tweaking configs and figuring out how you want it to work. Sometimes you need to jump inside the running machine to figure out how it works.

This is how you do it:

view plain print about
1docker exec -it my-running-container /bin/bash

Hopefully this helps someone, because I keep forgetting the command.