NAS access from docker app

Hello all.

Hailing from the unraid community, been there for too many years. I am in need of setting up a docker host and ZimaOS seemed like a nice little kit to try it out on.

The issue that I am having is trying to pass along the mounted share to the docker. Its not found and I cant find a path to it. I have tried editing the docker settings to directly mounted from it, no luck.

Perhaps a pass-through SYN? link. Never done that before but yea.

I have spent 3 hours on this at 3am. Im tired.

Any thoughts and suggestions would be helpful. Google hasnt been much help.

Oh and should you ask the end goal. I am trying to offload some of the services that I have running on UnRaid to balance things out.

oh. Forgot to mention, the share is SMB. I could try a CIF? share if that would make a difference. Never done it but should be pretty straight forward, I would assume

I am trying to understand your description, do you want a docker app on ZimaOS to access the smb shared folder on another NAS? This shared directory is already mounted via files, is that so?

Yes. The share is mounted via files and I can browse it there, problem is the dockers can’t access the host files? That’s what it looks like anyways

Your description is correct. It’s the cleanist way of moving forward imo.

I just tested it and it actually works, but the current UI doesn’t give a clear how-to.
You can refer to my operation:

  1. In Files right-click on the SMB shared folder you want to use in Docker and select Copy Path.
  2. At this time, return to the main interface, on the specific docker application icon, click the three dots in the upper right corner, select Settings, so that you can enter the docker configuration interface, and then in the volume tab, add a new mount directory, paste the path you just copied in the first input box, note: After the pasting is completed, you need to add /media at the front, see my screenshot below, and enter the directory in your docker application in the second input box. Finally, just save it.

1 Like

I followed the instructions and it errored out. I got the error twice but I was unable to capture the error in time, something to the effect ā€˜unable to bind’

I double checked the container to see if the new dir was made but it wasnt. After failing 3 times I gave up…

I will note that your link is different then the one I got when copying the link.
image

Just for grins I tried it on a completely different docker and this is the error I got…

Error response from daemon: invalid mount config for type ā€œbindā€: bind source path does not exist: /192.168.1.164/Media/

You need to change /192.168.1.164/Media to /media/192.168.1.164/Media

1 Like

As stated in his original instructions… Did this work for you? Has this been solved?

I had to do this and also set that folder to share in the files app of zimaos as well to get it to work.

1 Like

Sorry I missed that part… but you are correct… things are starting to happen. Thanks for the input and the quick response

Glad to solve your problem.