Answer the question
In order to leave comments, you need to log in
How to dynamically update a python script inside a docker container?
There is a task to do something like a sandbox inside the docker container, fill in the script there and start waiting for execution. Interaction with the sandbox upload/run/delete is possible through ui (flask, for example, as a main script with a forwarded port from docker), upload the necessary script for the test, run it in a child process and you're done, but what if, for example, you need to run a flask application in a child process, it also (port) must be thrown out of the docker.
Or maybe there are alternative solutions so that you can throw a script into docker from outside and run it for execution, while waiting for the result of the execution?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question