docker ssh into container from host code example
Example 1: docker access container
docker exec -it bash
docker exec -it sh ##for alpine
Example 2: docker ssh
sudo docker exec –it nginx-test /bin/bash
docker exec -it bash
docker exec -it sh ##for alpine
sudo docker exec –it nginx-test /bin/bash