I am using the joomla official docker container. The problem is that I need to install a component but I receive the following error message:
Maximum PHP file upload size is too small: This is set in php.ini in
both upload_max_filesize and post_max_size settings of your PHP
You will have to provide your own php.ini file, and load that to the container as a volume.
To do that, add the following flag to
docker run command:
If you are using docker compose, update the volumes section of your joomla container definition to look like so:
joomla_container: ... volumes: ... - local/path/to/php.ini:/usr/local/etc/php/php.ini
You definitely shouldn't try to edit the configuration in a running container. If you'd do this, you'd loose all of your configuration together with the running container instance when you want to, for example, update the image.