January 15, 201610 yr Is there a way to give a docker container access to a samba share on the network. In my instance, I would like to give emby server access to media I have stored on my network, not on unraid itself.
January 16, 201610 yr I would think this is best asked on the Emby docker thread or over on the Emby forums to be honest.
January 16, 201610 yr Author It's basically a generic docker question, not really emby specific, so you're probably right that unraid may not be the best place to ask. But, there is a whole forum and child board here devoted to docker.
January 16, 201610 yr Well when you specified Emby.... I thought.... I'm not aware of any docker specific way of mounting a share to the container.
January 16, 201610 yr Author Yes. that's true. But it can't, and so that's why I'm asking here... Like is there a way to execute a "mount -t cifs" using a docker container so that the mount can be seen inside the container?
January 16, 201610 yr Author Found what I was looking for... Now to do some testing... http://lime-technology.com/forum/index.php?topic=38635.msg435413#msg435413
January 16, 201610 yr Yes. that's true. But it can't, and so that's why I'm asking here... Like is there a way to execute a "mount -t cifs" using a docker container so that the mount can be seen inside the container? Ahhh, get you. i didn't know Emby definitely couldn't.... Haven't looked at the link, but if you can mount a smb share with mount locally on Unraid that might work, then map that mount into the docker config. Rather than just mapping into that specific container...
January 16, 201610 yr Author Yes. that's true. But it can't, and so that's why I'm asking here... Like is there a way to execute a "mount -t cifs" using a docker container so that the mount can be seen inside the container? Ahhh, get you. i didn't know Emby definitely couldn't.... Haven't looked at the link, but if you can mount a smb share with mount locally on Unraid that might work, then map that mount into the docker config. Rather than just mapping into that specific container... Now you're getting it... And check out that link!
January 16, 201610 yr Community Expert I think dockers can only see mounts that were available when the docker service started, so you may need to stop and restart the docker service after doing the SMB mount.
January 16, 201610 yr You can mount an smb share using the Unassigned Devices plugin. Once you mounted the share, add it to the Emby docker volume mappings
January 16, 201610 yr Author I think dockers can only see mounts that were available when the docker service started, so you may need to stop and restart the docker service after doing the SMB mount. Thank you, thank you, thank you. I was scratching my head on that one! You are correct. Once I restarted the docker service, the smb shares were seen by the container! That Unassigned Devices plugin is masterful. Essential! I hope gfjardim is alive and well and will continue to provide support of this plugin as well as treat us to new goodies in the future!
Archived
This topic is now archived and is closed to further replies.