docker container as bash code example
Example 1: how to bash into docker container
docker exec -it nginx /bin/bash
Example 2: docker how to run existing container
docker start <container-name/ID>
docker exec -it nginx /bin/bash
docker start <container-name/ID>