open terminal in start docker container code example
Example 1: how to bash into docker container
docker exec -it nginx /bin/bash
Example 2: docker start container
$ docker start my_container
Example 3: start a docker container
$ docker start <container_id>
Example 4: docker how to run existing container
docker start <container-name/ID>