PyCharm Professional: How to use an interpreter, running in a docker container on a second machine

Hello everyone!

Setup:

  • 1st machine (client): Windows with PyCharm Professional installed. Laptop, no GPU.
  • 2nd machine (server): Ubuntu with docker installed. Workstation with GPU.
  • 3rd machine (docker container): running on 2nd machine

I'm writing code on my laptop (client), which has no GPU. However, I need to test the code on a GPU. Therefore, I'd like to configure PyCharm (on my laptop), so that I can run and debug my code inside a docker container, which is being run on the server. I already tried reading the official PyCharm documentation (e.g. here), however, I was not able to solve the problem.

I would be really grateful, if someone could help me out with this problem or point me in the right direction, as I have been struggeling with it for quite some time now.

Thank you very much.

Please sign in to leave a comment.