Running a docker-compose "Getting Started" example causes "Invalid volume specification" on Windows
<p>I am absolutely new to Docker. I followed steps described in Docker Compose's <a href="https://docs.docker.com/compose/gettingstarted/">"Getting Started" tutorial</a>:</p>

<ol>
<li>Install Docker Toolbox</li>
<li>Start Docker Quickstart Terminal</li>
<li>Add project files</li>
<li>Run <code>docker-compose up</code> command</li>
</ol>

<p>And I got following error:
</p>

<pre><code>ERROR: for web  Cannot create container for service web: Invalid bind mount spec "D:\\Projects\\composetest:/code:rw": Invalid volume specification: 'D:\Projects\composetest:/code:rw'
[31mERROR[0m: Encountered errors while bringing up the project.
</code></pre>

<p>docker-compose.yml:
</p>

<pre><code>version: '2'
services:
  web:
    build: .
    ports:
     - "5000:5000"
    volumes:
     - .:/code:rw
  redis:
    image: "redis:alpine"
</code></pre>

<p>Project structure:
</p>

<pre><code>D:\Projects\composetest
  ├── app.py
  ├── docker-compose.yml
  ├── Dockerfile
  └── requirements.txt
</code></pre>

<p>My configuration:</p>

<ol>
<li>Windows 10 Single Language</li>
<li>Docker Toolbox 1.12.5</li>
</ol>

<p>Why does it happen? Is there some workaround?</p>