PyCharm can't connect to interpreter in docker

I use PyCharm 2016.1.4 on a Mac. I followed the instructions on this page, and I want to connect PyCharm to a Django project which runs in docker via docker-compose.

I added the configuration file and service name but when I press OK I get this error:

  • Docker Compose - Flyway - Unable to obtain Jdbc connection from DataSource
  • Start service automatic inside Docker container
  • Linking Nodejs app container to elastic search container securely (Docker)
  • Caching a single file on Travis CI
  • How to program with docker? [closed]
  • Calling IdentityServer4 from application behind a HAProxy LoadBalancer
  • Can you help me solve this problem?

  • Docker: wget for https does not work
  • Selecting different code branches when using a shared base image in Docker
  • Monitor docker containers based on labels assigned
  • (mac) dockers , commit changes in mongo doesn't work
  • Provide static IP to docker containers via docker-compose
  • docker run long multi-line commands on Windows Host
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.