docker ubuntu 18.04 default shell to bash ssh code example
Example 1: how to connect to docker via ssh
sudo docker exec –it nginx-test /bin/bash
Example 2: docker ssh
sudo docker attach Container_Name
sudo docker exec –it nginx-test /bin/bash
sudo docker attach Container_Name