Reputation: 15103
When i try to mount the config file on docker-compose.yml file:
version: '3.4'
services:
myService:
...
volumes:
- c:\DOCKER_DATA\myService.config:c:\MyService.exe.config
i get:
Cannot create container for service myService: invalid volume specification: 'c:\DOCKER_DATA\myService.config:c:\myService.exe.config:rw': invalid mount config for type "bind": source path must be a directory
Upvotes: 0
Views: 1154