Running a Docker image in PyCharm causes "Invalid volume specification"
<p>I am trying to run a project based on a Docker Image (Tensorflow, following instructions from <a href="http://www.netinstructions.com/how-to-install-and-run-tensorflow-on-a-windows-pc/" rel="nofollow">this tutorial</a>) as described in <a href="https://blog.jetbrains.com/pycharm/2015/12/using-docker-in-pycharm/" rel="nofollow">this blog</a>. The Docker is running fine, but I'm unable to import it in PyCharm (professional, does not work in community version). I get the following error message:</p>

<blockquote>
  <p>Error running main: Can't run remote python interpreter:
  {"message":"Invalid bind mount spec
  \"C:/Path-to-project/Project-name:/opt/project:rw\":
  Invalid volume specification:
  'C:/Path-to-project/Project-name:/opt/project:rw'"}</p>
</blockquote>

<p>How to solve this?</p>

<p>This is a Windows Linux path problem. To solve it, change project paths to the Docker file to <code>/c/Path-to-project/Project-name</code> (with a lower case c and forward slashes) in order to solve this problem. Inspired by <a href="https://blog.jetbrains.com/pycharm/2016/06/pycharm-2016-2-eap-4-build-162-1120/" rel="nofollow">this link</a>.</p>

python windows docker tensorflow pycharm