Hi, I’m relatively new to docker and could use some help here. I want to setup PyCharm locally so that I can upload, download and debug the project easily in a docker container that I created on a remote machine. I’m sure a lot of people have a similar setup, so feel free to suggest an existing thread if this seems like a repeated question to you. With my limited knowledge, I haven’t found a good solution so far.
I am working in PyCharm, which allows me to set SFTP connections to the remote GPU machines, here is an example I found online, where I need an SFTP hostname, default port:22, a username and a password to be able to remotely debug on the GPU machine.
Now I have a docker container running on that remote GPU machine, and I want to be able to set up a similar SFTP connection to directly upload, and download code into the docker image on the remote GPU machine. Ideally, they should share the same SFTP host, but having a different port and username. I think I saw it being done somewhere, but I’m not sure how to do it.
I have tried Dockerize an SSH service, but I am not sure how to make that work in my situation, since the docker container is on a remote machine that requires an extra layer of credentials.
Any help would be much appreciated!