Docker Can't Find Files
I've got docker, and docker machine on my computer. I've got the full version of pycharm, and I've added a remote interpreter with my docker image to my project. I also have a docker container running in a terminal on my local machine which I use for runs outside of the IDE. I'm somewhat familiar with docker, but just trying to use it with pycharm for the first time.
When I try to run any of my run configurations it says my files don't exist. I bet this is because they're not in the container pycharm is using, but I can't seem to find that container with docker ps, I only see the one I'm running.
How do I find the container that pycharm is running my code in? How do I add files to it? Can I interact with that container on the command line like a normal container?
Please sign in to leave a comment.
Hi Peter,
> When I try to run any of my run configurations it says my files don't exist.
Please provide a screenshot with your configuration and also please specify your OS.
> How do I find the container that pycharm is running my code in? How do I add files to it?
Please, check https://www.jetbrains.com/help/pycharm/2016.3/run-debug-configuration-python.html, `Docker container settings| Volume bindings` option.
> Can I interact with that container on the command line like a normal container?
Run configuration makes a new container on start and removes it on stop.