how to connect to docker code example
Example 1: how to connect to docker via ssh
sudo docker exec –it nginx-test /bin/bash
Example 2: connect running docker container
docker exec
sudo docker exec –it nginx-test /bin/bash
docker exec