Hi guys. I’m new to docker and I’ve been trying to use it to set up light development environments for Wordpress.
Everything works flawlessly on macOS with Mac Desktop - I spin up containers with mounted volumes and I can also edit the files directly. Deleting/updating plugins directly via wordpress also works. The file user and group on the files are all username:staff.
BUT, on Ubuntu, the file permissions are all www-data:www-data. So I can’t directly work on the files. If I chown it, then wordpress has issues directly updating and installing plugins… (Apache is running as www-data?)
What is different when mounting/running a container that on mac than on ubuntu that the files are mounted with the local user’s permissions (username:staff), but not on ubuntu ? (www-data:www-data) ?