Gitlab-runner + Docker + Windows - Invalid volume specification : <p>I'm trying to run my Gitlab CI locally using Gitlab-runner and docker before committing to make sure they work okay. But I'm having some strange issues!</p>

<p>Unfortunately I have no choice but to use windows (I've had success in the past on Linux).</p>

<p>Every time I run a job in powershell:</p>

<p><code>C:/Gitlab-runner/gitlab-runner exec docker npm</code></p>

<p>I get an error:</p>

<p><code>Job failed (system failure): Error response from daemon: invalid volume specification: '/host_mnt/c/builds/project-0/Users/Lewsmith/api:C:/Users/Lewsmith/api:ro' (executor_docker.go:921:0s)</code></p>

<p>I've tried setting docker volumes (nemerous combinations) and builds-dir:</p>

<p><code>C:/Gitlab-runner/gitlab-runner exec docker --builds-dir /builds --docker-privileged --docker-volumes "/builds:C:/Gitlab-runner/builds" npm</code></p>

<p>That fails with <code>Error response from daemon: invalid mode: /Gitlab-runner/builds</code> because of the colon after the C..</p>

<p>Can anyone point me in the right direction as I'm stumped? </p>

<p>Using gitlab-runner version 11.5.0</p>
