I wanted to be able to use SSH to directly connect to the container in my module without having to SSH to the TorizonCore OS first, then use docker to open a bash prompt in the container from there. My motivation is to be able to connect directly with SSH and use X forwarding.
The root password in the container is blank be default so I added a password and was then able to connect with SSH. However, the VisualStudio extension seems to expect that the container root account has no password and it cannot connect to the module and download code.
I did find a workaround for this, which is just to create a new account on the module and then use that account to account with SSH. Doing it that way lets me leave the root password blank, but it would still be useful to know if there is a way to set a root password and still have Visual Studio be able to connect to the module.