CTF_Cafe icon indicating copy to clipboard operation
CTF_Cafe copied to clipboard

DOcker API example (or i'm missing a doc ....)

Open quoinetine opened this issue 1 year ago • 4 comments

Hello,

I'm very interested in the project to make a small CTF. However, i'm struggling a bit with the Dokcer_API part ... Is it possible to give me an example of how it is supposed to work ? (I may be missing a doc which explains it, if that's the case juste give me the link and sorry for the bother)

Thanks

quoinetine avatar Jul 13 '23 14:07 quoinetine

Hey, I have not made the Doc for it yet have been overloaded with work, will make it soon. Which part are you struggling with? Here is the general idea: DockerAPI is suppose to be ran as a pm2 or node service directly, not in a docker, since it launches dockers itself. Its used if you want to have teams be able to launch individual dockers for docker challenges. If you have any other struggles you can reply here or dm me on discord : @raxo101

RaxoCoding avatar Jul 13 '23 16:07 RaxoCoding

If you have no use for launching multiple dockers for each team, you don't need to worry about it at all, and can remove the Docker API part of the backEnd .env

RaxoCoding avatar Jul 13 '23 16:07 RaxoCoding

Hey, I have not made the Doc for it yet have been overloaded with work, will make it soon. Which part are you struggling with? Here is the general idea: DockerAPI is suppose to be ran as a pm2 or node service directly, not in a docker, since it launches dockers itself. Its used if you want to have teams be able to launch individual dockers for docker challenges. If you have any other struggles you can reply here or dm me on discord : @raxo101

I got notified of this thread because you @ed my username, lol

raxo101 avatar Jul 13 '23 20:07 raxo101

Hey, I have not made the Doc for it yet have been overloaded with work, will make it soon. Which part are you struggling with? Here is the general idea: DockerAPI is suppose to be ran as a pm2 or node service directly, not in a docker, since it launches dockers itself. Its used if you want to have teams be able to launch individual dockers for docker challenges. If you have any other struggles you can reply here or dm me on discord : @raxo101

I got notified of this thread because you @ed my username, lol

fuck sorry 😂 new discord usernames 😭

RaxoCoding avatar Jul 14 '23 00:07 RaxoCoding