huladaddy Posted January 15, 2016 Share Posted January 15, 2016 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. Quote Link to comment
CHBMB Posted January 16, 2016 Share Posted January 16, 2016 I would think this is best asked on the Emby docker thread or over on the Emby forums to be honest. Quote Link to comment
huladaddy Posted January 16, 2016 Author Share Posted January 16, 2016 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. Quote Link to comment
CHBMB Posted January 16, 2016 Share Posted January 16, 2016 Well when you specified Emby.... I thought.... I'm not aware of any docker specific way of mounting a share to the container. Quote Link to comment
CHBMB Posted January 16, 2016 Share Posted January 16, 2016 If Emby can mount a samba share then that's your problem solved though. Quote Link to comment
huladaddy Posted January 16, 2016 Author Share Posted January 16, 2016 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? Quote Link to comment
huladaddy Posted January 16, 2016 Author Share Posted January 16, 2016 Found what I was looking for... Now to do some testing... http://lime-technology.com/forum/index.php?topic=38635.msg435413#msg435413 Quote Link to comment
CHBMB Posted January 16, 2016 Share Posted January 16, 2016 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... Quote Link to comment
huladaddy Posted January 16, 2016 Author Share Posted January 16, 2016 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! Quote Link to comment
trurl Posted January 16, 2016 Share Posted January 16, 2016 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. Quote Link to comment
izarkhin Posted January 16, 2016 Share Posted January 16, 2016 You can mount an smb share using the Unassigned Devices plugin. Once you mounted the share, add it to the Emby docker volume mappings Quote Link to comment
huladaddy Posted January 16, 2016 Author Share Posted January 16, 2016 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! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.