Connect to python in running docker container

I want to configure my interpreter to be a python installation on a running Docker container. Adding a Docker Python Interpreter does not seem to match my use case because that specifies the image and creates then deletes the container on each run of my program from within PyCharm. I need to connect to an already running container. How can this be acheived?

1 comment
Comment actions Permalink

Hello, 

you may configure it as a SSH interpreter, please see the link https://www.jetbrains.com/help/pycharm/configuring-remote-interpreters-via-ssh.html

 

Should you have any questions please feel free to ask. 

0

Please sign in to leave a comment.