Python subprocess.Popen() not working in a docker container - works fine locally
问题 I have created a Django REST framework project that I want to deploy on a server. I do not have admin access to the server, and so, the only way I found to ensure that all the project dependencies (such as Anaconda distribution) will be available on the server, is to create a docker image for my project , then create a corresponding container on the server, then run it from there. In my project, I have a python script (mymain.py) that gets called using subprocess.Popen(). This works fine