Docker 无法在windows容器上装载文件

Docker 无法在windows容器上装载文件,docker,docker-compose,docker-container,windows-container,Docker,Docker Compose,Docker Container,Windows Container,当我尝试在docker-compose.yml文件上装载配置文件时: version: '3.4' services: myService: ... volumes: - c:\DOCKER_DATA\myService.config:c:\MyService.exe.config 我得到: 无法为服务myService创建容器:无效的卷规范:“c:\DOCKER\u DATA\myService.config:c:\myService.exe.con

当我尝试在docker-compose.yml文件上装载配置文件时:

version: '3.4'
services: 
    myService:
    ...
    volumes:
        - c:\DOCKER_DATA\myService.config:c:\MyService.exe.config
我得到:

无法为服务myService创建容器:无效的卷规范:“c:\DOCKER\u DATA\myService.config:c:\myService.exe.config:rw”:bind类型的装载配置无效:源路径必须是目录


目前,发布的windows容器不支持此功能