Docker bash into container example. It also works for stopped containers and images.

Docker bash into container example. Add the -it flag if you need interactive access.