I have some problem. How to save in my.Net Core app into Docker container the file to a folder on the absolute path and not the relative path.
My files save into /var/lib/docker/overlay2/19564d0bf/merged/app/Images/vehicle, but to need saving into /mnt/app/files/Images/vehicle
Use mount with docker run:
docker run -v /mnt/app/files/Images/vehicle:/YOUR_LOCAL_PATH imageName
Save file to YOUR_LOCAL_PATH, then you can find it at /mnt/app/files/Images/vehicle
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.