When I run the container with volume to the hosts user directory from the containers /var/www/html directory and list the permissions they're set to www-data:www-data which doesn't allow users to edit files or folders.
Is this even possible? How would I go about implementing something like this?
Duplicate of https://github.com/docker-library/wordpress/issues/464
So you can run the container as whatever arbitrary user/UID you want https://github.com/docker-library/docs/tree/master/wordpress#running-as-an-arbitrary-user (that can for instance match the host's user/UID)
Or do something like add the user on the host to the group www-data and ensure that the files/folders have permissions set to something like 774 to allow for a member of that group to have full access
You could also try asking over at the Docker Community Forums, Docker Community Slack, or Stack Overflow. Since these repos aren't really a user-help forum
so i just tried changing permissions listed out the folder and it's full of question marks! Useless!
I understand you're frustrated and have likely spent a lot of time trying to get this working, but taking that anger out on the open source maintainers who are trying to help you doesn't really motivate us to continue trying. Please adjust your tone if you'd like to continue collaborating here.
For anyone in the future that may have this issue I had to fix it with this:
sudo chown -R $(id -u) www