I am trying to mount a Windows 10 directory into an Ubuntu container on docker. The path has spaces and a dash in the name:
C:\Users\eko\OneDrive - MyCo, Inc\_Git\covid19-maps
When I run the following in PowerShell:
docker run -i -v C:/Users/eko/OneDrive\ -\ MyCo,\ Inc/_Git/covid19:/home/covid19 ubuntu:latest
Docker fails with unknown shorthand flag: '\\' in -\
I also tried escaping the dash with a backslash like so /OneDrive\ \-\ MyCo,\ Inc/_Git but that also fails.