How to run multiple instances of the Python application with external configuration?
What to eat: an application in Python with Selenium, the mechanism is configured in a separate file .json, which specifies the desired patterns of work and methods. There is a small admin panel that generates this same config .json
What you need: after configuration to have the ability to start/stop/restart/edit multiple instances of the application.
All more or less suitable found on the Internet is docker.
I understand that I create the "parent" system image along with my desired app/library, then can you copy and run them?
Only one thing - don't really understand the mechanics of the interaction with the container I connect to container, something to see, for example, the console output, log, or edit the configuration file?
If there are any other options besides docker - I'd love to hear.
P. S. it is Desirable, that it worked on Windows under Windows - don't even ask why, please \_(ツ)_/
I don't quite understand, frankly, what you want, but to answer your question on Docker: Yes, you can connect to the container, go inside to complete the team. There can traverse the folder. Another thing is that I'm not really sure that working with Docker under Windows you will be without pain and suffering.
PS. I don't really understand why you need multiple instances of an application? I really think you have complicated everything. Why can't you implement it in one app? Type cause the script of your application with specific settings after you change the config in json it reads and executes certain actions through selenium. Why does the Docker containers?