Getting the error ERROR: Job failed: invalid volume specification when trying to run a .gitlab-ci on osx (10.14.5).
gitlab-runner exec docker build
Complete error:
ERROR: Job failed: invalid volume specification: "/Users/xxx/projects/Kubernetes Test/tasks:/Users/xxx/projects/Kubernetes Test/tasks:ro"
There seems to be a similar problem on Windows, but found nothing for osx.
If anyone runs into similar problems, I fixed this by moving the project from
/Users/xxx/projects/Kubernetes Test/tasks to /Users/xxx/projects/kubernetes-test/tasks
Not a docker expert, but seems that there are issues with spaces in volumes.