I have configured PyCharm to target the Python binary in my Docker container, but am getting this error:
Couldn't refresh skeletons for remote interpreter
failed to run generator3.py for docker://app:latest//usr/local/python/bin/python, exit code 126, stderr: ----- /usr/local/python/bin/python: /usr/local/python/bin/python: cannot execute binary file -----
Running PyCharm 5.0.4 with Docker 1.10.0 in a VM with Python 3.4.3.
Here are my PyCharm Remote Interpreter settings:

Saving those settings gives a Non-zero exit code. and the above error.