On 02.06.23 at 19:22 Mehdi Haghgoo via Podman wrote:
volumes:
- .:/var/www/html
I guess this is no typo, you are really using "." as volume for /var/www/html?
volumes:
wp_uploads: {}
wpdb_vol: {}
When running the containers, in WordPress admin page, I cannot
install a plugin. Basically, the container is not allowed to create directories under
wp-content. It fails with permission error:
"Could not create directory
/var/www/html/wp-content/upgrade/oceanwp-3.4.4/oceanwp"
I tried chmod 777 on all wp-content (with -r), but it didn't help.
I would try using a "real volume" (and not just ".") for
/var/www/html.
My guess would be that due to MacOS and Podman Machine (and not using Podman
directly, like on Linux) this does not work.
Kind Regards,
Johannes
--
Johannes Kastl
Linux Consultant & Trainer
Tel.: +49 (0) 151 2372 5802
Mail: kastl(a)b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg
http://www.b1-systems.de
GF: Ralph Dehner
Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537