Hi
I have installed the below and this works fine.
docker run -d -p 8001:80 --name apache-php -v “/mnt/Backup Drive/www”:/var/www/html php:7.4-apache
but, as the web pages use MySQL, everytime I recrate the docker image i have to log onto the containers SSH and enter
docker-php-ext-install mysqli
Stop the container and start
Then the web page works, is there any way to make docker always install that if the container is recreated?