ssh for docker code example
Example 1: docker ssh
sudo docker exec –it nginx-test /bin/bash
Example 2: docker ssh
sudo docker attach Container_Name
sudo docker exec –it nginx-test /bin/bash
sudo docker attach Container_Name