我有两个 Windows Nano docker 容器……一个带有服务,第二个带有我的自动验收测试。
我正在尝试向 aat 容器添加一个卷,以便我可以复制测试输出。
我在其他地方见过我应该使用...
- COMPOSE_CONVERT_WINDOWS_PATHS=1
但似乎无法到达任何地方:S
version: '3.3'
services:
fancyservice:
restart: always
image: fancyservice
aat-runner:
environment:
- FancyServiceUrl=http://fancyservice/
- COMPOSE_CONVERT_WINDOWS_PATHS=1
volumes:
- .:/output:rw
restart: always
image: aat-runner
我得到:
ERROR: for aat_aat-runner_1 Cannot create container for service aat-runner: invalid volume spec "/output"
ERROR: for aat-runner Cannot create container for service aat-runner: invalid volume spec "/output": invalid volume specification: '\output'
ERROR: Encountered errors while bringing up the project.