docker ubuntu with ssh server code example Example: docker ssh sudo docker exec –it nginx-test /bin/bash