So there are lots of times you need to work inside a docker container. Being able to do so is a simple but important skill. Easily achieved as below:-
#If your not sure, locate the name of the docker container you want to play in
docker ps
#Then, jump into a bash terminal
docker exec -it container-name bash
The ‘-it’ is the switch/option for interactive terminal . Without it, it will start a bash terminal, but you wont see anything and wont be able to ‘interact’ with it!