The setup I work with has a docker container with Python and all relevant dependencies installed in it. The codebase itself (decoupled from the environment) is on the local machine, and gets mounted to the docker container when changes occur.
However, all Python highlighting and code completion, also in regard to the installed dependencies (mainly Django in this case) do not work in VSCODE since
python.Path has no access to any interpreter.
I would prefer to avoid setting up a doubled venv on the local machine if possible. Is there a way to just connect VSCODE to the python environment available in the docker container?
Source: Docker Questions