You can use this command to launch chown inside a container to fix permissions.
docker exec -i container /bin/chown -R www-data:www-data /var/www/html
You can use this command to launch chown inside a container to fix permissions.
docker exec -i container /bin/chown -R www-data:www-data /var/www/html
Consolidated Notes From the Desk of Sean Davis.
Fix Permissions in Container
By Sean, 2024-02-21