I am trying to do volume mapping from linux container to my local windows machine.
Here are the steps:
Ran the following command in Power Shell in Admin mode:
docker run -it -v ~/Output:/app/Reports <imagename>
Issue: Output file (Report.html) does not get copied to Output folder in local machine.
Note:
I don't see the option to select drive for file sharing in Docker settings.
Please guide me on how I can resolve this ?
Using absolute path in place of ~ worked, i.e. docker run -v C:/Users/12345/Output:/app/Reports