I currently have a tensorflow-gpu docker container fully built. I have a volume from my host's workspace ($PWD
) to /workspace
inside the docker container.
I can successfully remote debug the python scripts inside my workspace/docker's workspace folder, but as expected, my pylint and intellisense don't work inside vscode, as the pythonPath
is set to my local python interpreter, and the pylint init-hooks are using my local python environment to figure out if it should squiggly line something.
How do I change my local vscode's pythonpath to point to the python interpreter on docker rather than on the host? I want pylint to be calibrated to the docker's environment rather than the local host's environment.
What you want is remote interpreter support which isn't supported yet. Please subscribe to this issue to know the status of this feature.