ljm42 Posted February 3, 2018 Share Posted February 3, 2018 When editing docker volumes in advanced mode, our "access mode" setting includes six options: Read Write (private) Read Write shared Read write slave Read Only (private) Read Only shared Read Only slave I believe that all six are valid for host paths that are on the array or cache drive, but only the shared/slave bind propagation options are valid for unassigned devices. Can we add smarts to the webgui to handle this? In advanced editing mode - if the selected host path is under /mnt/disks/ (i.e. an unassigned device) the "private" options should be suppressed. In basic editing mode - since the settings are not visible, if the selected host path is under /mnt/disks/ it should automatically use "slave" (or "shared"?) This will eliminate problems related to docker not being able to access files on unassigned devices. In terms of documentation, this page describes how to mount volumes: https://docs.docker.com/storage/volumes/ and descriptions of private/slave/shared are here: https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation Interestingly, it seems like "shared" might be the most flexible mode of all. I wonder if it should be the default everywhere? Quote Link to comment
chipt4 Posted May 11, 2019 Share Posted May 11, 2019 +1 Would love to see this implemented Quote Link to comment
zoggy Posted January 25, 2020 Share Posted January 25, 2020 Bumping this as well Quote Link to comment
Revan335 Posted April 3, 2022 Share Posted April 3, 2022 +1 Thats fixed/solved my problems before they occurred. 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.