You can run bash without SSH connection to the Docker container.

TODO

  • fetch the container ID
    • docker ps -qf "name=[the name of container]"
  • run bash on the docker instance
    • docker exec -it [container ID] bash

e.g.,

docker exec -it $(docker ps -qf "name=[the container name]") bash