Kru-x Posted May 4, 2018 Share Posted May 4, 2018 Giday, I have made a template for the official wordpress and it works great when I use the path to the containers /var/www/html folder and mount it to my appdata folder. Now I want to mount the root folder "/var/www' to my appdata folder instead but that just wont work, the files and folders in /html is not mounting, just the folder itself aka it is empty in my appdata folder. Some weird docker issue I guess! Any clues? Link to comment
Squid Posted May 4, 2018 Share Posted May 4, 2018 Try mounting it with the slave option when you edit the path. Link to comment
Kru-x Posted May 4, 2018 Author Share Posted May 4, 2018 7 hours ago, Squid said: Try mounting it with the slave option when you edit the path. Hi Squid, Nahh didn't work, it will mount correctly if I use RW/Shared but then I still can't edit in the top level folder in this case "/var/www" but I can edit in "var/www/html". guess it is some user privileges messing it up , strange thing is if I mount the toplevel folder in a different folder I can! Dirty workaround to have two folders but it works so hey! ? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.