Subj : tqwCTF To : MeaTLoTioN From : alterego Date : Thu Apr 16 2020 11:23:12 Re: tqwCTF By: MeaTLoTioN to All on Wed Apr 15 2020 07:28 pm Me> I haven't yet figured out how to spawn a new image for every connection Me> and then despawn it upon quitting, but that is my goal at some point to Me> figure that. So you shouldnt need to rebuild the image with a new challenge (although I dont really understand what you are trying to do). But if I'm thinking correctly, you would restart the container every "x" mins, that has a new challenge - that is easy to do. (That new challenge is calculated when the container starts.) EG: For my BBS containers, I start zerotier if "ZT_ENABLE=1" is set, before starting the BBS. Depending on how you start your containers (I use docker swarm): * If you just "docker run", then you could do "--restart=always", or "--restart=unless-stopped", and then inside or outside the container kill it. To kill from inside the container, just "kill 1". From outside the container, you would do "docker kill ", * If you are using "docker swarm", then the container will auto restart when you start the stack or service, so "docker stop" or "kill 1" (from inside), will make it auto restart until you "docker rm service", or "docker rm stack". ....deon .... Laugh and the world laughs with you, snore and you sleep alone. --- SBBSecho 3.10-Linux * Origin: I'm playing with ANSI+videotex - wanna play too? (1337:2/101) .