Jump to content
XPEnology Community

How to grant Container Manager rw access to user homes?


Recommended Posts

Hi all, previously in Docker (up to DSM 7.1), I can easily bind "homes" directory to any container. But now in Container Manager (DSM 7.2), apparently I no longer able to do that (even the "home" directory isn't there in folder binding windows. Is there any solution?

Please refer to this image to see what I mean.

gambar.thumb.png.99bd2ef3c2918fe4d15dbc5a110f1b3e.png

Link to comment
Share on other sites

Yes, this is annoying. There is a workaround and that is by importing a settings file. For example, I needed to update a folder location for an existing container. I exported the container settings to a json file. After exporting, I made the changes and imported it back in.

 

The section looks like this:

 


   "volume_bindings" : [
      {
         "host_volume_file" : "/homes/user/location",
         "is_directory" : true,
         "mount_point" : "/drive",
         "type" : "rw"
      }
   ]

 

Edited by ebell
added heading
Link to comment
Share on other sites

  • 5 months later...
  • 2 months later...
On 7/23/2023 at 10:48 AM, ebell said:

Yes, this is annoying. There is a workaround and that is by importing a settings file. For example, I needed to update a folder location for an existing container. I exported the container settings to a json file. After exporting, I made the changes and imported it back in.

 

The section looks like this:

 


   "volume_bindings" : [
      {
         "host_volume_file" : "/homes/user/location",
         "is_directory" : true,
         "mount_point" : "/drive",
         "type" : "rw"
      }
   ]

 

Hi, you save me, this really help, thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...