create ssh enabled docker container command code example Example: docker ssh sudo docker exec –it nginx-test /bin/bash