Jump to content

Docker Permissions


adrianwi

Recommended Posts

adrianwi

I've managed to get emby running in a Docker container using a ubuntu VM on a FreeNAS box.

 

I want the config data saved to a dataset on FreeNAS so have a NFS share mounted to the ubuntu VM which I'm mounting inside the container to the /config folder.

 

When the emby container starts it's trying to set the permissions on this folder, which it can't do so I wanted to try and set these in the ubuntu VM or even in FreeNAS so it doesn't need to change them.

 

What is it trying to change them too?

Link to comment
Share on other sites

mastrmind11

the user that you configure to run the contents of the container needs r/w permission on whichever folder you mapped to /config.  

Link to comment
Share on other sites

adrianwi

It's good to know, although I think I resolved my issue by changing the way I was mounting the datasets.  I was trying to use nfs4 but 'downgrading' to nfs3 meant that the emby docker container could apply the permissions it wanted.

 

Thanks for the replies!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...