kekesed97 Posted July 16, 2023 Share #1 Posted July 16, 2023 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. Quote Link to comment Share on other sites More sharing options...
ebell Posted July 23, 2023 Share #2 Posted July 23, 2023 (edited) 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 July 23, 2023 by ebell added heading Quote Link to comment Share on other sites More sharing options...
kjx sirnby aeeyab n Posted January 8 Share #3 Posted January 8 Did some body resolve this? W/o importing and other Quote Link to comment Share on other sites More sharing options...
Orphée Posted January 8 Share #4 Posted January 8 Container Manager has limitations. You should consider Portainer, or use yaml files with docker-compose. Quote Link to comment Share on other sites More sharing options...
Tpine Posted March 11 Share #5 Posted March 11 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 Quote Link to comment Share on other sites More sharing options...
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.