remote python interpreter into a docker container without ssh
has anyone found a way to use the PyCharm remote interpreter with docker containers? I don't want to setup ssh inside the docker container.
Maybe with NSENTER instead of ssh?
http://jpetazzo.github.io/2014/03/23/lxc-attach-nsinit-nsenter-docker-0-9/
Maybe with NSENTER instead of ssh?
http://jpetazzo.github.io/2014/03/23/lxc-attach-nsinit-nsenter-docker-0-9/
Please sign in to leave a comment.
docker exec
https://docs.docker.com/reference/commandline/cli/#exec
UPDATE: added formal request to tracking system https://youtrack.jetbrains.com/issue/PY-15476
I did not know https://youtrack.jetbrains.com/issues/PY existed.
Judging by the chatter on the internets (Twitter, soverflow, blogs, etc) this has been wanted for a few years. With the addition of docker exec I am hoping its minimal effort for the PyCharm devs, and maybe we can see this in a future release :)
I still feel like there should be a way to trick PyCharm into using the docker container's interpreter through some crafty use of docker exec and a bash script, but I haven't found any solutions that work yet.
https://youtrack.jetbrains.com/issue/PY-15476