Is it possible to direct VSCODE `python.Path` setting to a python interperter installed in a docker container?

  docker, python, visual-studio-code

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