how to ssh to host from container code example
Example 1: docekr enter container
docker exec -it [container-id] bash
Example 2: docker ssh
sudo docker exec –it nginx-test /bin/bash
docker exec -it [container-id] bash
sudo docker exec –it nginx-test /bin/bash