MiguelSlv
MiguelSlv

Reputation: 15103

Can't mount file on windows container

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

Answers (1)

MiguelSlv
MiguelSlv

Reputation: 15103

Currently, this functionality is not supported on windows containers as posted here.

Upvotes: 2

Related Questions