Subj : Docker help required To : MeaTLoTioN From : Deon George Date : Thu Jul 25 2019 10:50 pm Howdy, 25 Jul 19 10:59, you wrote to all: Me> Hey y'all, this message will probably get Deon's attention =) It did! Me> when user authenticates, a docker container is spun up dynamically, Me> and then the user is dropped into the shell of said container. User So there used to be a tool called dockersh, which was supposed to do that. I could never get it to work however :( So instead, you could do this another way: * Spin up "x" number of your docker containers - where "x" represents the number of concurrent sessions you are wanting to have * Put haproxy infront - and configure "x" backends - haproxy should in theory just connect a TCP session to a container, and you can do smart things like round robin, etc. * When the user logs off, "kill 1" - which kills the container PID 1. Now, if you have the containers set in a swarm (which is what I use all the time), then it will automatically restart the container (and it will be clean ready for the new user). If you dont use swarm, just make sure the contain starts with -restart always (I think is the syntax). Me> If you wanna try out my little challenge, you can do so here; Me> ssh user@www.erb.pw -p 1337 Me> (password = 'userpass' (no quotes)) I'll give it a go :) ....deon --- GoldED+/LNX 1.1.5--b20180707 * Origin: Chinwag | MBSE in Docker on Pi (1337:2/100) .