help providing access to stored files

Discussion about Docker
Locked
User avatar
SoLX
Posts: 10
Joined: 07 Mar 2024, 00:00
United States of America

help providing access to stored files

Post by SoLX »

Hello,

I would like to run a docker image but unsure how to give access to particular folders. For example, I would like to run an ebook app that requires access my files in a user folder. As I am new to NAS / Docker / Portainer, I'm not sure how to go about that. I presume from the videos that I can understand I have to set that up either through the volume step or the variable step. I'm not sure. I have however figured out how to SSH so I can copy the desired path.


Thanks!
User avatar
makhai
Posts: 23
Joined: 18 Jul 2024, 23:08
France

Re: help providing access to stored files

Post by makhai »

Hi, you can use docker volumes to link a host folder to a container folder
User avatar
bobstayshaky
Posts: 1
Joined: 30 Oct 2024, 10:39
Bahamas

Re: help providing access to stored files

Post by bobstayshaky »

To run a Docker image with access to specific folders on your NAS, you'll need to use Docker volumes. Identify the folder you want the container to access (e.g., /path/to/your/ebooks). Ensure that the folder has the right permissions for the Docker container to read/write as needed. In the "Container" field, enter the path where you want the app inside the container to access your files (this depends on the app’s documentation, often something like /ebooks).
check out the best platform game geometry dash lite!
Locked

Return to “Docker”