I\'m starting with Docker, but I don\'t know how to configure PyCharm to use a python interpreter located in a container.
It was easy to setup with Vagrant, but there\'s
With Docker 1.3, use the exec
command to construct the path to the Python interpreter:
sudo docker exec container_name /usr/bin/python
See https://docs.docker.com/reference/commandline/cli/#exec, http://forum.jetbrains.com/thread/PyCharm-2224
You could install SSH inside the container and then expose the port, but that isn't how containers are expected to be used, because you would be bloating them.