install openssh ubuntu docker container code example Example: docker ssh sudo docker exec –it nginx-test /bin/bash