set up docker to ssh into it 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