This image is an example of how to install and setup SSH for your Docker containers. It is as simple as:
- Installing
openssh-server
- Adding the ssh user. In this example, we use
ubuntu
, but you can customize this - Launching a cluster with your SSH Public Key
- Run
sudo service ssh start
to start the SSH server - On your machine, run
ssh ubuntu@<HOSTNAME> -p 2200 -i <private_key_file_path>