H
H
huko2016-03-16 00:30:38
Django
huko, 2016-03-16 00:30:38

Why can't Pycharm connect to a Python console running on a remote Docker container?

There is a remote server with docker containers raised via compose (the configuration looks like this - pastebin.com/SB1RLdtt ). In Pycharm, I set up python interpreter via ssh to one of the containers. Everything seems to work including run and debug, but when I try to run the Python console, I get this:

ssh://[email protected]:2222/usr/local/bin/python /root/.pycharm_helpers/pydev/pydevconsole.py 0 0
PyDev console: using IPython 4.1.2
Couldn't connect to console process.
Process finished with exit code -1

Can't figure out if this is my local problem or something is wrong with Pycharm. Does this work for anyone in a similar configuration?
ps Please do not offer to configure python interpreter through the native docker support that appeared in version 5, IMHO, it is still very damp and not stable, so I want to configure everything through the old proven ssh.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question