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