how to get shell of docker container code example Example: open the bash shell of docker container command docker exec -it <container name> /bin/bash