Hi there – I’m trying to use the CLI to run a job with my local instance of a repo:
circleci local execute -v "/Users/jeremy/Code/dockerized-yeti:/root/yeti" -c process.yml --job composer_install
After pulling the image, I get this error:
Error: error starting container thewirecutter/yeti-docker: Error response from daemon: create [/Users/jeremy/Code/dockerized-yeti: "[/Users/jeremy/Code/dockerized-yeti" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path
Error:
Unexpected environment preparation error: Error response from daemon: create [/Users/jeremy/Code/dockerized-yeti: "[/Users/jeremy/Code/dockerized-yeti" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path
Step failed
Task failed
Error: Unhandled prepare executor error: Error response from daemon: create [/Users/jeremy/Code/dockerized-yeti: "[/Users/jeremy/Code/dockerized-yeti" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path
It appears there’s an extra [
prepended to the path, which happens whether I use quotes, replace with $(pwd)
, etc.
Here’s the version of Docker Desktop I’m on:
And the CLI version:
λ circleci version
0.1.10803+6189238 (homebrew)
Any help would be greatly appreciated. Thanks!