Save files from app running in container to an outside server or local computer

I’m new in Docker. I would like you to tell me what I should research to solve my problem. I have an APP written in NodeJS in a container. I need to save files outside the container, a specific directory on my server, but I cannot send files out. All the files are saved inside the container even I set it out. I use Multer.

I thank you for reading my question.

Or if you need some data automatically copied out from the container to the host when the container starts, then use a volume with a custom source path

https://dev.to/rimelek/everything-about-docker-volumes-1ib0#custom-volume-path-overview

1 Like

I thank you very much for your help. I’m going to study the solutions that you wrote. Thanks a lot…!