I am trying to run multiple Linux containers in Docker EE running on Windows server 2019. Everything is going well until I mount a single file to a container, like:
VOLUME:
- c:\xxx\yyy.xml:/app/yyy.xml
When I spun up an instance I receive an error:
ERROR: for xxx Cannot create container for service s1: invalid volume specification: 'C:\Users\xxx\yyy.xml:/app/yyy.xml' invalid mount config for type "bind": source path must be a directory
Mounting a single file is possible in running Docker CE (on windows).
Is there a way get this working without too many custom workarounds?