Docker-based Infrastructure as a Service Tools (DIAAS)
Follow instructions here: https://docs.docker.com/installation/ubuntulinux/
git clone https://github.com/pyotr777/dockerIaaSTools.git
cd dockerIaaSTools/
sudo ./install.sh
Copy ssh public key to DIAAS directory. Create user with:
sudo ./createuser.sh <username> <docker image name> <public ssh key>
For logging to your container running under DIAAS on a remote server you need only ssh on your local computer. For mounting local directories into remote containers you also need connect.sh file and running sshd server on local computer.
sudo ./cleanuser <username>
sudo ./uninstall.sh