Have a situation where I need to deploy my app on the ubuntu18.04 host having docker 19.03.13.
Both are fare from newest but atm I can’t update any of them.
When I try to run my python app it constantly crashed with some multiprocessing related exception. Tried to narrow down and came up with the only two line program:
from multiprocessing import Manager
Manager().dict()
Tried different python3 images but all I tried failed with either:
ConnectionResetError: [Errno 104] Connection reset by peer
or
FileNotFoundError: [Errno 2] No such file or directory
Tried to run above two lines within the interpreter within the docker started as:
docker run -it –entrypoint=/bin/bash python:VERSION
Most of the version I’ve tried failed with the above exceptions.
The only one seems to work for me was python:3.8.2
Also when running same on other machines (with newer both OS and docker) – all works fine on any python version.
So the question is – how can I make python 3.10+ works properly on that ‘old’ machine without updating OS and docker on it?