Connection to a python interpreter inside a docker on a remote host

Hi,

I'm trying to use the python interpreter that is inside a docker on my remote host.

I was able to connect to the docker ssh port (when I mapped port 22 outside), and find the interpreter (by settings -> Project:<ProjectName> -> Project interpreter -> Add.. -> SSH interpreter), but for some reason the python console is stuck and not able to connect.

Can you help? 

Thanks

0
1 comment

Hi,

First of all please ensure that you're running the latest version of PyCharm: https://www.jetbrains.com/pycharm/download

Please add the following lines into Help > Debug log settings:

#com.intellij.ssh
#com.jetbrains.plugins.webDeployment

Then reproduce the issue and gather logs according to https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files

You can upload logs to our FTP https://uploads.services.jetbrains.com/ and let us know the file name.

 

But before checking the logs, I must say that using remote SSH interpreter inside docker is not a typical scenario. Please consider using remote docker interpreter instead, here's a guide on how to configure it:

https://youtrack.jetbrains.com/issue/PY-33489

1

Please sign in to leave a comment.