我到了;
Error: Command failed: docker stack deploy --compose-file /Users/myUser/OneDrive - My Company/Code/myProject/node_modules/tools/lib/wdio/docker-compose.yml wdio
"docker stack deploy" requires exactly 1 argument.
我怀疑路径中的空间,因为代码托管在MS OneDrive上。我无法更改One Drive的名称。有没有办法让docker在Mac / Unix上正确处理空格?
答案 0 :(得分:0)
你可以试试这个:
docker stack deploy --compose-file /Users/myUser/OneDrive\ -\ My\ Company/Code/myProject/node_modules/tools/lib/wdio/docker-compose.yml wdio