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 ?
使用绝对路径代替 ~ 工作,即 docker run -v C:/Users/12345/Output:/app/Reports
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.