Hi all,
The context is about coding in PHP, Web development, on a Linux machine.
I have my code tree and when I want to test it, I fire up a Docker container and test the code through a browser.
I want the container to stay alive while I edit the code so that I just have to refresh my browser.
One solution is to mount the code tree somewhere under the web server DocumentRoot.
The main problem is about permissions: for some write operations (file uploads, cache, logs,…), the container needs to chown
part of the code tree in order to be able to write in.
But once this is done, I loose the ability to edit. There is then a permission conflict.
How do you deal with it in your projects?